Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

TextView.SetSelection

Sets selection.

Component Version macOS Windows Linux Server iOS SDK
TextView 10.5 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "TextView.SetSelection"; TextView; Start; Length )   More

Parameters

Parameter Description Example
TextView The reference number to the text view. $textview
Start The new start of the selection.
Length The new length of the selection.

Result

Returns OK or error.

Description

Sets selection.

Examples

Set a selection.

MBS( "TextView.SetSelection"; $TextView; 3; 5 )

See also

Release notes

Blog Entries

FileMaker Magazin

Created 29th September 2020, last changed 15th November 2020


TextView.SetSelectedStyledText - TextView.SetSelectionLength

Feedback: Report problem or ask question.