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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    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

This function checks for a license.

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


TextView.SetSelectedStyledText - TextView.SetSelectionLength

💬 Ask a question or report a problem