User interface programming / Dialog programming basics |
The language provides several built-in functions and operators to be used in a dialog instruction.
Use the dialog functions and operators to keep track of the relative states of the current row, the program array, and the screen array, or to access the field buffers and keystroke buffers.
Typical control functions used in dialogs are: arr_curr(), arr_count(), fgl_set_arr_curr(), set_count(), field_touched(), GET_FLDBUF(), INFIELD(), fgl_dialog_getfieldname(), fgl_dialog_getbuffer().
As an alternative to functions and operators (especially for those taking hard-coded parameters such as INFIELD(), use the methods provided in the ui.Dialog class.