Get(ActiveSelectionStart)

Returns a number representing the starting character of the selected text.

Format 

Get ( ActiveSelectionStart )

Parameters 

None

Data type returned 

number

Originated in version 

7.0

Description 

Returns the cursor's current position if no text is selected.

If there are multiple windows open in the current database file, a result is returned for only the foreground window.

Notes 

  • In FileMaker Go, this function may return an inaccurate value if the selected text is in a concealed edit box.
  • This function is not supported for FileMaker WebDirect.

Example 1 

Returns 5 when the selection starts at character 5.