MaxGUI: Radio buttons under MacOS

BlitzMax Forums/BlitzMax Programming/MaxGUI: Radio buttons under MacOS

TommyBear(Posted 2005) [#1]
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.


TommyBear(Posted 2005) [#2]
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



ImaginaryHuman(Posted 2005) [#3]
Maybe you are meant to handle it yourself.


ImaginaryHuman(Posted 2005) [#4]
Similarly its up to you to decide what moving a slider bar does


TommyBear(Posted 2005) [#5]
Potentially but *standard* radio button behavior is that they are mutually exclusive when grouped to a parent.


Hotcakes(Posted 2005) [#6]
Who ever said Apple has to follow standard behaviour?


TommyBear(Posted 2005) [#7]
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.


KamaShin(Posted 2005) [#8]
Agreed with TommyBear... Radio buttons are supposed to be exclusive... if not it s called checkboxes...
anyway, the exclusiveness is fairly easy to code...