Form frame descriptors
A form definition file can begin with an optional set of
frame descriptors,
followed by one or more sets of field
descriptors (one set per field),
and it can end with one or more optional sets of descriptors that define
the screen-labeled function keys that will be displayed when
the form is the active frame in the user's work area (one set per SLK).
Some of the attributes of a form that you can define are the following:
-
the title of the form
-
the screen position of the form
-
a label and input area for each field
-
any initial value to display for each field
-
a set of choices for the value of a field
-
the starting position and length of each field and label
-
the validation to be done for each field, and the error message to display if validation fails
-
whether the form is multi-page or not
-
labels and functions for the SLKs of the form
The descriptors in a form definition file must be in the following order:
[frame_descriptor_1
.
.
.
frame_descriptor_n]
field-one_descriptor_1
.
.
.
field-one_descriptor_n
[field-two_descriptor_1
.
.
.
field-two_descriptor_n]
...
[SLK-n_descriptor_1
.
.
.
SLK-n_descriptor_n
...]
NOTE:
Out-of-order descriptors will be ignored if this order--frame, then fields, then
SLKs--is not followed.
Next topic:
Frame descriptors for forms
Previous topic:
Menu.edit: screen output when menu files is selected
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004