MaxGUI: Radio buttons under MacOS
BlitzMax Forums/BlitzMax Programming/MaxGUI: Radio buttons under MacOS
| ||
Hi Guys, I have a problem where the radio buttons under MacOSX are not mutually exclusive. So basically you can check both of them. Anyone hit this problem yet? Under win32 everything is fine (haven't tried linux). Am I missing something? Both radio buttons are grouped to a panel. Tommy. |
| ||
okay... fixed it but it seems a little hacky:Else If(CurrentEvent.source = windowedOption and ButtonState(windowedOption)) Then SetButtonState(fullScreenOption, False) Else If(CurrentEvent.source = fullScreenOption and ButtonState(fullScreenOption)) Then SetButtonState(windowedOption, False) End If |
| ||
Maybe you are meant to handle it yourself. |
| ||
Similarly its up to you to decide what moving a slider bar does |
| ||
Potentially but *standard* radio button behavior is that they are mutually exclusive when grouped to a parent. |
| ||
Who ever said Apple has to follow standard behaviour? |
| ||
Standard behavior in a GUI of any kind is that radio buttons (or options button) be mutually exclusive as the are an option. It has nothing to do with Microsoft. |
| ||
Agreed with TommyBear... Radio buttons are supposed to be exclusive... if not it s called checkboxes... anyway, the exclusiveness is fairly easy to code... |