RADIOGROUP item definition
Defines attributes for a mutually-exclusive set of option fields.
Syntax
RADIOGROUP item-tag = field-name [ , attribute-list ] ;
- item-tag is an identifier that defines the name of the item tag in the layout section.
- field-name identifies the name of the screen record field.
- attribute-list defines the aspect and behavior of the form item.
Form attributes
COLOR, COLOR WHERE, COMMENT, DEFAULT, FONTPITCH, HIDDEN, INCLUDE, ITEMS, JUSTIFY, KEY, NOT NULL, NOENTRY, ORIENTATION, REQUIRED, SAMPLE, SIZEPOLICY, STRETCH, STRETCHMAX, STRETCHMIN, STYLE, TAG, TABINDEX, TITLE, UNSORTABLE, UNSIZABLE, UNHIDABLE, UNMOVABLE, VALIDATE LIKE.
Style attributes
Common: backgroundColor, border, fontFamily, fontSize, fontStyle, fontWeight, textColor, textDecoration.
Usage
Define the rendering and behavior of a radio group item tag,
with a RADIOGROUP element in the ATTRIBUTES section.
For more details about this item type, see RADIOGROUP item type.
Example
LAYOUT
GRID
{
[f1 ]
...
}
END
END
ATTRIBUTES
RADIOGROUP f1 = player.level,
ITEMS=((1,"Beginner"),
(2,"Normal"),
(3,"Expert"));
...