• 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: Is it possible to use Radio Group(NSMatrix) in a different way?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to use Radio Group(NSMatrix) in a different way?


  • Subject: Re: Is it possible to use Radio Group(NSMatrix) in a different way?
  • From: Ken Ferry <email@hidden>
  • Date: Wed, 19 Oct 2011 01:20:37 -0700

On Mon, Oct 17, 2011 at 10:26 AM, Fritz Anderson <email@hidden>wrote:

> On 15 Oct 2011, at 9:18 AM, Bill David wrote:
>
> > I need implement a UI as the following on my Mac OS 10.6:
> >
> > option 1
> >    detailed configuration for option 1
> > option 2
> >    detailed configuration for option 2
> > option 3
> >    detailed configuration for option 3
> >
> > I can't select more than one option at the same time, so that I want to
> use
> > Radio Group to implement it.
> > But as radio group must have all options(radio buttons) close to each
> other,
> > I tried to use multiple Radio Groups(NSMatrix) to implement it as I need
> > only one option selected at the same time, i.e. use a radio group for
> each
> > option and use code to ensure only one option selected each time. But I
> > failed, as NSMatrix must have one item selected (it may not be true, but
> it
> > seems to work in this way to me), so that all options are selected all
> the
> > time.
> >
> > Do you have any idea on how to implement such a UI?
>
> Forget about NSMatrix; it doesn't do much for you in this case. Use
> standalone radio buttons. The task of remembering which option is selected,
> setting the states of the respective buttons, and responding to the radio
> buttons' actions, is not hard. You can do it yourself.
>

Seconded.  If an NSMatrix does exactly what you want out of the box, fine,
but there isn't a lot of point in trying to customize it.  It's easier to
just do it yourself.

-Ken


>
>        — F
>
> _______________________________________________
>
> 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: 
 >Is it possible to use Radio Group(NSMatrix) in a different way? (From: Bill David <email@hidden>)
 >Re: Is it possible to use Radio Group(NSMatrix) in a different way? (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Keeping grayscale image grayscale
  • Next by Date: Re: How to get key code from "SysDefined" Carbon Event
  • Previous by thread: Re: Is it possible to use Radio Group(NSMatrix) in a different way?
  • Next by thread: Stepwise articles
  • Index(es):
    • Date
    • Thread