Hi,
I have a panel on my GUI with radio buttons. When I run the code to determine which is the checked radio button from that panel, the code runs fine, but the panel disappears from the GUI after that.
Here is the code I have to determine the checked radio button:
I have tried using:Code:Dim rbName = (From r As RadioButton In Panel1.Controls.OfType(Of RadioButton)() Where r.Checked Select r.Name) System.Console.WriteLine(rbName.First)
Panel1.Visible = True
and also
Panel1.Show()
Panel1.Refresh()
but it doesn't show the panel again. I tried the same thing for individual radio buttons such as RadioButton1.Visible = True and it doesn't work. I would appreciate any help with showing the panel again on the GUI!




Reply With Quote