Hi. I am building a Tic Tac Toe game and I came across some trouble when I was trying to select the Radio Button that the variable states. Heres my code.
What I am trying to do is select the radio button that the variable SelectedGameDifficulty states but I don't know how. The radio buttons are located on the form and the names for the radio buttons are optEasy, optMedium, optHard, and optTest. Can anybody help me?
Code:
'Level Selection Enum
Public Enum GameDifficulty
optEasy = 0
optMedium = 1
optHard = 2
optTest = 3
End Enum
'Default Level
Public SelectedGameDifficulty As GameDifficulty = GameDifficulty.optTest
'Check Radio Button