Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- TextView.GetSelectedRTF
- TextView.GetSelectionStart
- TextView.SetSelectedRTF
- TextView.SetSelectionLength
- TextView.SetSelectionStart
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.
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 29th September 2020, last changed 15th November 2020
TextView.SetSelectedStyledText - TextView.SetSelectionLength