Get(ActiveSelectionStart)

 <  Day Day Up  >  

Get(ActiveSelectionStart)

Category: Get

Syntax: Get ( ActiveSelectionStart )

Parameters: none

Description: 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 null if no field is active. When multiple windows are open , only the active window is considered .

Examples:

 

 Get (ActiveSelectionStart) 

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

Comments:

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 determined the string that a user has highlighted in any field, using the formula:

 

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

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

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