RADIOGROUP item definition

Defines a mutually-exclusive set of option fields, in a grid-based layout.

Syntax

RADIOGROUP item-tag = field-name [ , attribute-list ] ;
  1. item-tag is an identifier that defines the name of the item tag in the layout section.
  2. field-name identifies the name of the screen record field.
  3. attribute-list defines the aspect and behavior of the form item.

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.

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"));
...