RADIOGROUP

Definition

RADIOGROUP [id]
{
  [Flags]

  GROUP
  {
    [Group flags]
    [Radio buttons]
  }
}

Description

A radio group is used to place radio buttons in a grid and make sure that only one button at a time is active.
The radio buttons are added within a regular GROUP inside the radio group, using RADIOGADGET or page_dialog_resource_SPECIALRADIO::
Use GeDialog::SetInt32() and GeDialog::GetInt32() to access the selection.

Flags

See Dialog Resource for a description of the common flags.

[LAYOUTFLAGS]Layout flags.

Example

RADIOGROUP
{
  GROUP
  {
    COLUMNS 1;

    RADIOGADGET FIRST_BUTTON_ID { NAME FIRST_BUTTON; }
    RADIOGADGET SECOND_BUTTON_ID { NAME SECOND_BUTTON; }
    RADIOGADGET THIRD_BUTTON_ID { NAME THIRD_BUTTON; }
  }
}
RADIOGROUP
{
  GROUP
  {
    COLUMNS 1;

    SPECIALRADIO FIRST_BUTTON_ID { NAME FIRST_BUTTON; }
    SPECIALRADIO SECOND_BUTTON_ID { NAME SECOND_BUTTON; }
    SPECIALRADIO THIRD_BUTTON_ID { NAME THIRD_BUTTON; }
  }
}

Further Reading