Field_SetSelection()

Examples


The Field_SetSelection() function selects text in a text field.

Syntax

Field_SetSelection(text_field, start_position, length)

Parameters

text_field – The text field in which you are setting the selection.

start_position – An integer specifying the starting position of the selection.

length – An integer specifying the length of the selection. If 0 is specified, no text is selected.

Return value

The boolean value true.


Documentation Feedback