Onetastic Macro Documentation >
>
>
DialogBox_AddRadioGroup DialogBox_AddRadioGroup
Adds a group of radio buttons to a dialog box. User can choose at most one of the options in the group.
Syntax
void DialogBox_AddRadioGroup(
DialogBox dialogBox,
String label,
String name,
String initialValue,
Array<String> possibleValues)
Parameters
- DialogBox dialogBox
- The dialog box to add the radio group to.
- String label
- A label for the whole group.
- String name
- Name of the radio group. The value of the selected option will be stored dialogBox.controls[name] after the dialog is displayed using DialogBox_Show function.
- String initialValue
- The initial selected option among the group.
- Array<String> possibleValues
- The list of options to display.
|