For instance... If I have a group of 4 RadioButtons (in a panel) and I want to set the selected button's value in a config file (or just to determine which button is "True"), is there a better way than doing this...
If RadioButton1.Value = True Then hSetting["System/Header/Main"] = 0
If RadioButton2.Value = True Then hSetting["System/Header/Main"] = 1
If RadioButton3.Value = True Then hSetting["System/Header/Main"] = 2
If RadioButton4.Value = True Then hSetting["System/Header/Main"] = 3
Or is that the only way?