• 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
Re: NSButton/NSBox interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton/NSBox interaction


  • Subject: Re: NSButton/NSBox interaction
  • From: Mailing lists <email@hidden>
  • Date: Thu, 10 Apr 2014 11:27:11 +0100

On 9 Apr 2014, at 22:06, Tom Doan <email@hidden> wrote:

> I have a dialog which has an NSBox. Inside the NSBox are two
> (separate, but conceptually linked) sets of radio buttons. These are
> just NSButtons with radio style---I haven't (at least intentionally)
> embedded them into an NSMatrix. However, when I select one of
> the buttons from one set, it resets all others in both sets to off so
> somehow it's automatically interpreting <<all>> the buttons inside
> the box as a single collection even though that's not my intention.
> However, I can't see anything in the description of either NSButton
> or NSBox that seems to cover this behavior so I can override it. Can
> someone explain what's happening, please?
>
I did as you implied and placed two separate matrices inside an NSBox and they function independently.

Are you sure that you don’t have all the buttons in a single matrix?

You say that the buttons are linked, are you sure that you are not triggering the state of one set from the other?

J

> Thanks,
>
> Tom Doan
> Estima
>
> _______________________________________________
>
> 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


_______________________________________________

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


References: 
 >NSButton/NSBox interaction (From: Tom Doan <email@hidden>)

  • Prev by Date: Re: NSDictionary @synchronize to read multiple objects
  • Next by Date: Re: NSDictionary @synchronize to read multiple objects
  • Previous by thread: Re: NSButton/NSBox interaction
  • Next by thread: button cell highlight/state/type
  • Index(es):
    • Date
    • Thread