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: 9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5    Statistic    FMM    Blog  


Sets selection.

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


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.


Returns OK or error.


Sets selection.

See also

Blog Entries

Release notes

  • Version 10.5
    • Added more TextView functions: TextView.GetSelectedStyledText, TextView.SetSelectedStyledText, TextView.GetSelectedHTMLText, TextView.SetSelectedHTMLText, TextView.GetSelectedRTF, TextView.SetSelectedRTF, TextView.GetSelectedPlainText, TextView.SetSelectedPlainText, TextView.GetSelectionStart, TextView.SetSelectionStart, TextView.GetSelectionLength, TextView.SetSelectionLength, and TextView.SetSelection.

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

TextView.SetSelectedStyledText   -   TextView.SetSelectionLength

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos