Use the DojoRadioGroup widget to define radio buttons.
Properties
- options
- The text label for the button
- selected
- Specifies whether the radio button can be selected. Valid values
are true and false.
- vertical
- Specifies whether the list of buttons is horizontal or vertical.
Valid values are true and false.
Example
The following example shows the
code and outcome for a group of radio buttons, which are labeled soda,
coffee, and tea.
radio DojoRadioGroup {vertical=true,options=["soda","coffee","tea" ],selected="coffee",onChange ::=chooseDrink };