I am confused by choice of words in RadioGroup. Apparently DeskTop and Web are basically the same. There is ItemAt which might be usefjul
What is the code to get whether the index is selected and is true or false?
I have part of the code which doesn’t give true / false here:
If me.SelectedIndex = 0 Then
ElseIf me.SelectedIndex = 1 Then
For a RadioGroup the SelectedIndex is the index of the RadioButton within the set that has been clicked. So if you have the first item selected SelectedIndex would be 0, the second 1 etc.
It is possible for SelectedIndex to be -1, if none of the RadioButtons are selected. Obviously, if you have more than two options it could also be 2 or more.