Form specification files / Form file concepts |
The concept of form item includes all elements used in the definition of a form.
A form item can be an input field such as an EDIT field, a push BUTTON or a GROUPBOX or TABLE container. A form item can also be an element of a TOOLBAR, TOPMENU and ACTION DEFAULTS definition.
A form item is defined by its type, called a form item type. For example, a form field can be an EDIT, or a COMBOBOX, a form layout container can be a GROUP, or a GRID, a toolbar item can be an ITEM or a SEPARATOR.
For a detailed description, see Form item types.
In a grid-based container such as GRID, form items (typically, form fields) must be defined with a form tag in the LAYOUT section, bound by the tag name to a definition in the ATTRIBUTES section.
LAYOUT GRID { [f1 ] ... } END END ... ATTRIBUTES EDIT f1 = customer.cust_name, ... ; END
LAYOUT STACK GROUP EDIT customer.cust_name, ... ; END END END
Other kind of form items are defined in the section it belongs to (for example, an ITEM element of a TOOLBAR definition).