Problem with Radio Buttons

BlitzMax Forums/MaxGUI Module/Problem with Radio Buttons

TAS(Posted 2015) [#1]
I create a panel with some radio buttons, everything works fine. I add a panel to the panel with a second set of radio buttons. The second set works as expected. However the program locks up if I click on any of the original radio buttons and the selected button in the second set is deselected. Is there a work around or am I missing something?


Henri(Posted 2015) [#2]
Hi,

it depends on what you want. One way is to create a top panel and then add the 2 radiogroup panels to that.

-Henri


TAS(Posted 2015) [#3]
It was a child/parent issue. This structure worked;
Window
|_Panel_1
__|__________
| |
Panel_2 Panel_3
Radio button_A1 Radio button_B1
Radio button_A2 Radio button_B2

Set A and B are now separate groups. Without Panel_2 (i.e. group A is a child of Panel_1) the program hands if a button in group A is selected.