so its been a verrrry long time since I messed around with vb. I am trying to make a program for my clan and here is a simple question I hope some one can answer. I am trying to make a button activate a radiobutton to checked if you press the button. If its already checked then to uncheck it. The code im using is sending my prog into a loop I think. Can i get some help code is as follows.. please try not to be harsh, this is the first time Ive used vb since late 90s. thank you guys.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Buttonflaga.Click
RadioButtonAsel.Refresh()
If RadioButtonAsel.Checked = False Then RadioButtonAsel.Checked = True
If RadioButtonAsel.Checked = True Then RadioButtonAsel.Checked = False
End Sub
also while Ive been playing around and trying to find an answer on my own, I figured maybe Ill just use a clear button. I have 3 buttons and 3 radiobuttons, can I have more than one raidobutton active? It looks great for a selected item. Im using the radio button to show that you have activated that button. If that makes any sense.