WebRadioGroup.SelectedItem

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

WebRadioGroup.SelectedItem() As WebRadioButton

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

See Also

WebRadioButton class.