Radio button control

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics >

Radio button control


Radio button control (RadioButton)

 

 

Radio button control is used when you want to allow users to select only one option from multiple options. It must be used to group multiple radio buttons.

 

cr_0041

 

The grouping procedure is the same as for Toggle button control.

For details, please refer to Toggle button control's "Grouping buttons to select only one from multiple options" and "Grouping to turn ON only one of multiple bit tags".

 

Please note that Radio button control cannot be used for processes such as switching ON/OFF using the control alone.

 

 

 

About the initial value of GroupValue when not binding

 

When grouping without binding, the initial value of GroupValue is -1.

If you want to set the initial value to a value other than -1, do the following in the parent control's OnInitialize event.

 

 

 

event OnInitialize()
{
this.GroupValue = 1; // Initial value to be set
}