NSButton radio buttons, automatic grouping
NSButton radio buttons, automatic grouping
- Subject: NSButton radio buttons, automatic grouping
- From: Aandi Inston <email@hidden>
- Date: Fri, 29 Aug 2014 15:35:58 +0100
I'm running the same code in 32-bit and 64-bit, and seeing a difference I
cannot currently account for. The code is an implementation of a widget
library, specifically the bit dealing with radio buttons.
The radio buttons are created as NSButton instances with a buttonType of
NSRadioButton. The library presumes buttons are independent of one another
and manages its own grouping, so that a click on one button clears the
other buttons in the same group. There are many dialog boxes with multiple
groups of radio boxes.
So, this all works as expected in 32-bit. In 64-bit mode, clicking on any
one of the radio buttons clears all the others in the NSWindow (without
regard to our own logical grouping). Initial tests suggest our code is not
doing that.
Now, I see references to radio button groups in an NSMatrix as being
automatically linked, but I am not using an NSMatrix, and I can't see any
methods of NSButton or NSButtonCell related to this. All the NSButton
controls are placed in the same NSWindow (whether in 32-bit or 64-bit mode).
Thanks for any insight!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden