Built-in functions / Built-in functions |
Selects the text in the current field.
fgl_dialog_setselection( cursor INTEGER, end INTEGER )
A call to fgl_dialog_setselection(cursor, end) sets the text selection in the current form field. The cursor parameter defines the character position of the edit cursor (equivalent to fgl_dialog_getcursor() position), while end defines the character position of the end of the text selection (equivalent to fgl_dialog_getselectionend() position).
cursor can be lower, greater or equal to end.
This function has only an effect when staying in the current field, it should not be called in an AFTER FIELD or AFTER ROW for example.