Creates a user-defined input form (dialog box).
Level 5 | Level 4 | Level 3 | Level 2 | Level 1 | -> | Level 2 | Level 1 |
---|---|---|---|---|---|---|---|
'title' | { s1 ... s2...sn } | format | { resets } | { init } | -> | { vals } | 1 |
'title' | { s1 ... s2...sn } | format | { resets } | { init } | -> | 0 |
Variable | Function |
---|---|
"title" | Title. This appears at the top of the dialog box. |
{ s1 ... s2...sn } | Field definitions. A field definition (sx) can have two formats: "label", a field type, or { "label" "helpInfo" type0 type1 ... typen }, a field label with optional help text that appears near the bottom of the screen, and an optional list of valid object types for that field. If object types aren't specified, all object types are valid. For information about object types, see the TYPE command. When creating a multi-column dialog box, you can span columns by using an empty list as a field definition. A field that appears to the left of an empty space automatically expands to fill the empty space. |
format | Field format information. This is the number col or a list of the form { col tabs }: col is the number of columns the dialog box has, and tabs optionally specifies the number of tab stops between the labels and the highlighted fields. This list can be empty, col defaults to 1 and tabs defaults to 3. |
{ resets } | Default values displayed when RESET is selected. Specify reset values in the list in teh same order as the fields were specified. To specify no value, use the NOVAL command as a place holder. This list can be empty. |
{ init } | Initial values displayed when the dialog box appears. Specify initial values in the list in the same order as the fields were specified. To specify no value, use the NOVAL command as a place holder. This list can be empty. |