Re: Is it possible to use Radio Group(NSMatrix) in a different way?
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: Fritz Anderson <email@hidden>
- Date: Mon, 17 Oct 2011 12:26:40 -0500
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.
— 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