Built-in functions / Built-in functions |
This function sets the position of the edit cursor in the current field.
FGL_DIALOG_SETCURSOR( position INTEGER )
The FGL_DIALOG_SETCURSOR() moves the edit cursor to the specified position in the current field. The function must be called in interactive instructions control blocks, when staying in the current field.
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.
Note that you can use FGL_DIALOG_SETSELECTION() to select a piece of text in a field.