The TABINDEX attribute defines the tab order for a form item.
TABINDEX = integer
This attribute can be used to define the order in which the form items are selected as the user "tabs" from field.
To take TABINDEX attributes into account in dialogs, the program must defined the form tabbing order with the OPTIONS FIELD ORDER FORM instruction. Alternatively, a dialog can use the FIELD ORDER FORM option as well.
The TABINDEX attribute can also be used to define which field must get the focus when a FOLDER page is selected.
By default, form items get a tab index according to the order in which they appear in the LAYOUT section.
EDIT f001 = customer.fname, TABINDEX = 1; EDIT f002 = customer.lname, TABINDEX = 2; EDIT f003 = customer.comment, TABINDEX = 0; -- Excluded from tabbing list