• 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: setting up radio buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >setting up radio buttons (From: Daniel Child <email@hidden>)

  • Prev by Date: Re: Looks KVC-compliant to me, but Cocoa says it ain't
  • Next by Date: Re: Looks KVC-compliant to me, but Cocoa says it ain't
  • Previous by thread: Re: setting up radio buttons
  • Next by thread: Re: setting up radio buttons
  • Index(es):
    • Date
    • Thread