How do I display different group boxes, according to radio button selected ?
-
Hi, i have 3 radiobutton, and 3 groupboxes, what im trying to do is when you chose one radiobutton, it will display a groupbox. what i have(doesnt work), for each radiobutton is : if radiobutton.checked then groupbox1.visible = true groupbox2.visible = False groupbox3.visible = False else end if
-
Hi, i have 3 radiobutton, and 3 groupboxes, what im trying to do is when you chose one radiobutton, it will display a groupbox. what i have(doesnt work), for each radiobutton is : if radiobutton.checked then groupbox1.visible = true groupbox2.visible = False groupbox3.visible = False else end if
I have to say that the user interface sound a bit odd if controls are shown or hidden based on radio buttons. Anyhow, can you simply use (without any if)
groupbox1.Visible = radiobutton1.Checked
groupbox2.Visible = radiobutton2.Checked
groupbox3.Visible = radiobutton3.Checked -
I have to say that the user interface sound a bit odd if controls are shown or hidden based on radio buttons. Anyhow, can you simply use (without any if)
groupbox1.Visible = radiobutton1.Checked
groupbox2.Visible = radiobutton2.Checked
groupbox3.Visible = radiobutton3.Checkedright, but which sub a insert that in ?
-
right, but which sub a insert that in ?