On Mon, Oct 17, 2011 at 10:26 AM, Fritz Anderson <[email protected]>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 protected]) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/kenferry%40gmail.com > > This email sent to [email protected] > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
