Document revision: 2017-08-29
Refers to JDLG version: 1.7.6
The RadioButton class implements a clickable button which maintains an
active / inactive state. All RadioButton objects located in the same
parent container object are considered a group, where only one
RadioButton may be active. When a RadioButton is activated, all other
RadioButtons in the same group are deactivated.
- active : integer, get/set
- Zero (default): The RadioButton is inactive.
Nonzero: The RadioButton is active.
- activebtn : string, get
- Returns the path of the
active RadioButton in the group.
An empty string is returned if there is no active
RadioButton in the group.
- class : string, get
- Returns "RadioButton".
- rule : integer, get/set
- If nonzero, the rule value is returned to the program, along with the
path of the RadioButton object
(see also ruleoverride below), when the
RadioButton is clicked or activated by an accelerator
key and the state of the RadioButton changes to
The default rule value is zero.
See also the documentation of the
common rule attribute.
- ruleoverride : integer, get/set
- If nonzero, the rule
of a previously focused EditText
or ComboBox object is overridden
(the RadioButton rule value combined with the
The default ruleoverride value is zero.
For details, please refer to the
- text : string, get/set
- RadioButton text.
If an & character occurs in the text, the next character
or digit is used to define a corresponding accelerator key.
The RadioButton is then activated when pressing the ALT key along
with this accelerator key.
- traversecr : integer, get/set
- Zero (default): Pressing the ENTER key changes the RadioButton state
to active, as if the RadioButton was clicked.
Nonzero: Pressing the ENTER key moves the focus to the next focusable