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.