represents a radio button whose setting x is set to val when the button is clicked.
is displayed as when x is val, and as otherwise.
takes the setting to be the dynamically updated current value of x, with the value of x being reset if the button is clicked.
Examplesopen allclose all
Basic Examples (1)
Dynamically change the value of x:
Control the appearance:
Dynamically change the appearance:
Values update as the cursor is moved over the clickable area:
Set the background color:
Dynamically change the background color:
Align with surrounding text:
By default RadioButton is enabled:
By setting Enabled->False, the radio button is disabled, but visible in its current state:
Properties & Relations (2)