fgl_dialog_setcursor()
This function sets the position of the edit cursor in the current field.
Syntax
fgl_dialog_setcursor(
   x INTEGER )
- x is the edit cursor position in the text.
 
Usage
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 is not recommended to call
                it in an AFTER FIELD or AFTER ROW event for
                example.
Note that you can use FGL_DIALOG_SETSELECTION() to
 select a piece of  text in a field.
Important: When using byte length semantics, the position is expressed in bytes. When
     using char length semantics,
     the unit is characters. This matters when using a multibyte locale such as UTF-8.