Frame Radio Groups
- Last UpdatedOct 31, 2022
- 1 minute read
A FRAME may have a set of RTOGGLE gadgets defined directly within it which act in concert as a radio group.
An example of a FRAME with a directly defined radio group looks like this:

The radio group action only applies to FRAME gadgets of type NORMAL, PANEL, FOLDUPPANEL.
You can add RTOGGLE to a FRAME with the usual positioning and layout commands.
The FRAME has a value member, VAL, which is the index of currently selected RTOGGLE for the radio group. You can use this to change the selected RTOGGLE.
Similarly, you change the value of the FRAME by setting the VAL member of any of the group’s RTOGGLEs to true.
Note that the FRAME group value may be set to zero, indicating that there is no selected RTOGGLE. Similarly if the selected RTOGGLE value is set to false, then it becomes deselected and the FRAME value will then be zero.
The default value for an RTOGGLE gadget is FALSE, and the default value for a FRAME gadget is zero, i.e. no selected RTOGGLE.