Re: setting up radio buttons
Re: setting up radio buttons
- Subject: Re: setting up radio buttons
- From: Keary Suska <email@hidden>
- Date: Wed, 19 Sep 2007 14:56:58 -0600
- Thread-topic: setting up radio buttons
on 9/19/07 2:29 PM, email@hidden purportedly said:
> before, and they worked fine, but for some reason, I can't find any
> examples on how to get radio buttons to work.
>
> I declared the radio button outlet as an NSButtonCell and connected
> the GUI to the instantiated controller object. But when I try to get
> the state, the values are wrong. For three buttons, titled TAB,
> COMMA, and OTHER, I get the following logs when attempting to get the
> state for all three.
When you set an outlet in this way, your outlet will only and always refer
to the specific button you are connected to, and not the matrix "state". You
may want to have the outlet to the nsmatrix instead.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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