Category: Get

Syntax: Get ( ActiveSelectionStart )

Parameters: None

Data type returned: Number


Returns the position of the first character in the highlighted text of the current field. If no text is highlighted (that is, the user has simply clicked into a block of text), then the current position of the cursor is returned. It returns a blank value if no field is active. When multiple windows are open, only the active window is considered.

Remember that carriage returns, tabs, spaces, and other invisible characters are taken into account when evaluating Get ( ActiveSelectionStart ).

Used in conjunction with Get ( ActiveSelectionSize ), you can determine the string that a user has highlighted in any field, using the formula

 Middle ( Get (ActiveFieldContents); Get (ActiveSelectionStart) ;
 Get ( ActiveSelectionSize ))




Get (ActiveSelectionStart)

Returns 1 if the user has selected an entire field, or if the insertion point is at the beginning of a field.

FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon © 2008-2017.
If you may any questions please contact us: