A radio button item is a button which usually denotes one of several mutually
exclusive options. It has a text label next to a (usually) round button.
You can create a group of mutually-exclusive radio buttons by specifying RB_GROUP
for
the first in the group. The group ends when another radio button group is created, or there are no more radio buttons.
RB_GROUP |
Marks the beginning of a new group of radio buttons. |
RB_SINGLE |
In some circumstances, radio buttons that are notconsecutive siblings trigger a hang bug in Windows (only). If this happens, add this styleto mark the button as not belonging to a group, and implement the mutually-exclusive group behaviour yourself. |
RB_USE_CHECKBOX |
Use a checkbox button instead of radiobutton (currently supported only on PalmOS). |
See also window styles overview.
evt_radiobutton(id) { | event | … } | Process a EVT_COMMAND_RADIOBUTTON_SELECTED event,when the radiobutton is clicked. |
Event handling overview, RadioBox, CheckBox
Constructor, creating and showing a radio button.
Destructor, destroying the radio button item.
Creates the choice for two-step construction. See RadioButton.new for
further details.
Returns true if the radio button is depressed, false otherwise.
Sets the radio button to selected or deselected status. This does not cause a
EVT_COMMAND_RADIOBUTTON_SELECTED event to get emitted.
[This page automatically generated from the Textile source at 2023-06-09 00:45:33 +0000]