RadioButton.Value

From Xojo Documentation

Property (As Boolean )
aRadioButton.Value = newBooleanValue
or
BooleanValue = aRadioButton.Value

Supported for all project types and targets.

Gets or sets the value of the radio button: True if the RadioButton is checked and False if it is not checked.

Sample Code

Displays the selected radio button for a collection of radio buttons in a Control Set:

Sub Pressed (Index As Integer)
MsgBox("You chose radio button " + index.ToString + ".")
End Sub

To select a specific RadioButton in a control set, you use its Index property in code to refer to the RadioButton whose value you want to set. For example, the following line sets the second RadioButton from code.

RadioButton1(1).Value = True // 0-based