• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSButton radio buttons, automatic grouping
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSButton radio buttons, automatic grouping
      • From: Michael Babin <email@hidden>
  • Prev by Date: Voice capture and transfer via network
  • Next by Date: Re: NSButton radio buttons, automatic grouping
  • Previous by thread: Voice capture and transfer via network
  • Next by thread: Re: NSButton radio buttons, automatic grouping
  • Index(es):
    • Date
    • Thread