WebRadioGroup.SelectedCaption

From Xojo Documentation

Method

WebRadioGroup.SelectedCaption() As String

New in 2010r4

Supported for all project types and targets.

Returns the caption (as a String) of the selected radio button.

Example

The following code in the SelectionChanged event tests which radio button was clicked. The control has the default conguration of two rows and one column.

Select Case Me.SelectedCaption
Case "First"
MsgBox("button 0")
Case "Second"
MsgBox("button 1")
End Select