New user here using VB .Net 2008
I seem to be having trouble getting group boxes to appear when I click a radio button.
If radiobutton1.Checked Then Groupbox1.Visible = True Groupbox2.Visible = False Groupbox3.Visible = False Groupbox4.Visible = False End If
This indeed brings up the first radio button however I have other groupboxes underneath which with the same code will not appear when the radio button is checked.
If radiobutton2.Checked Then Groupbox2.Visible = True Groupbox1.Visible = False Groupbox3.Visible = False Groupbox4.Visible = False End If
The second groupbox does not appear and is directly behind the first groupbox.
code doesn't seem to be working either.
If anyone could shed some light on this I would really appreciate it.