Returns the position of the edit cursor in the current field.
fgl_dialog_getcursor() RETURNING index INTEGER
The fgl_dialog_getcursor() function can be used in conjunction with fgl_dialog_getselectionend() to get the position of the edit cursor and the piece of text that is selected in the current field.