Built-in functions / Built-in functions |
Returns the position of the last selected character in the current field.
FGL_DIALOG_GETSELECTIONEND() RETURNING position INTEGER
The FGL_DIALOG_GETSELECTIONEND() function returns the edit cursor position of the last selected character in the text of the current field.
The function returns zero if the complete text is selected.
The edit cursor position returned by FGL_DIALOG_GETCURSOR() will be lower as the position returned by FGL_DIALOG_GETSELECTIONEND() if the text has been selected backwards.