WebRadioGroup.SelectedItem
From Xojo Documentation
Method
WebRadioGroup.SelectedItem() As WebRadioButton
New in 2020r1
Supported for all project types and targets.
New in 2020r1
Supported for all project types and targets.
Returns the selected WebRadioButton.
Sample Code
This example displays a MessageBox with the current date and time if the user has selected the radio button whose caption is "Today":
If RadioGroup1.SelectedItem.Caption = "Today" Then
MessageBox("Today is: " + DateTime.Now.ToString)
End If
MessageBox("Today is: " + DateTime.Now.ToString)
End If
See Also
WebRadioButton class.