Selects text within the control.

Introduced: X18.

<void> TXTextControl.select(<number> start, <number> length, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
start Specifies the selection's start position
length Specifies the number of selected characters.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.