selection within a group box

juster21

Member
Joined
Oct 1, 2008
Messages
9
Programming Experience
1-3
I'm trying to create a select case statement to determine which option button in a group box is selected. is this possible? not sure where to even start. thanks!!
 
Yes it is possible:
VB.NET:
Select Case True
    Case RadioButton1.Checked
        'Code for RadioButton1
    Case RadioButton2.Checked
        'Code for RadioButton2
    Case RadioButton3.Checked
        'Code for RadioButton3
    Case Else
        'None were selected
End Select
 
Back
Top