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:

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