radio_button
A DCL radio_button is a child tile. A radio_button can be selected
by clicking on it or by giving it focus. When a radio_button is
selected, each other radio_button that appears within the same
cluster will be deselected.
related attributes
- These attributes are predefined for every child tile and
consequently for a radio_button as well:
-
- mnemonic
- When using the mnemonic of a
radio_button, the radio_button will receive focus, which is the
normal behavior of mnemonic. Mind that a radio_button gets selected
when it receives focus.
- is_tab_stop
- These attributes are predefined for every tile and consequently
for a radio_button as well:
-
- key
- value
- The value of a radio_button refers to
its selected state. If a radio_button is selected, its value is
"1". If a radio_button is not selected, its value is "0".
- tooltip
- label
- Use the label attribute to set the
text contents of a radio_button.
- fixed_height
- fixed_width
- alignment
- width
- bcad_width
- height
- bcad_height
- is_enabled
callbacks
When a previously unselected
radio_button gets selected by mouse or keyboard, a callback with
reason "CBR_SELECT" will be triggered (see action_tile for more
about callbacks). The sender of the callback will be the cluster
that contains this radio_button. If the radio_button is already
selected, clicking it again will trigger the same callback
again.
© Bricsys NV. All rights reserved. |