Get(ActiveSelectionSize)

Category: Get

Syntax: Get ( ActiveSelectionSize )

Parameters: None

Data type returned: Number

Description:

Returns the number of characters that are highlighted in the current field. The function returns 0 if no characters are highlighted, and returns a blank value if no field is active. When multiple windows are open (which leads to the possibility of multiple highlighted selections), only the active window is considered.

Carriage returns, tabs, spaces, and other invisible characters are counted by Get ( ActiveSelectionSize ).

When using Get() functions within field definitions, in most cases you should set the storage option to be "unstored" so that the field always displays current data.

Examples:

Function

Results

Get ( ActiveSelectionSize )

Would return 10 if a user had highlighted 10 characters in any field in the active window.






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

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net