RADIOGROUP item definition
Defines a mutually-exclusive set of option fields, in a grid-based layout.
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
, STYLE
, TAG
, TABINDEX
, TITLE
, UNSORTABLE
, UNSIZABLE
, UNHIDABLE
, UNMOVABLE
, VALIDATE LIKE
.
Style attributes
Common: backgroundColor
, border
, fontFamily
, fontSize
, fontStyle
, fontWeight
, localAccelerators
, showAcceleratorInToolTip
, textColor
, textDecoration
.
Class-specific: autoSelectionStart
, completionTimeout
.
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"));
...