• 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: NSMatrix with radio buttons - problem detecting states
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMatrix with radio buttons - problem detecting states


  • Subject: Re: NSMatrix with radio buttons - problem detecting states
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 11 Oct 2002 07:41:36 -0400

on 02-10-11 5:05 AM, Phillip Hutchings at email@hidden wrote:

> Each cell of the matrix is
> attached to a variable, one called broadcast, the other called listen.

It is much easier and more common to represent the value of an entire radio
button cluster (no matter how many radio buttons it contains) using a single
variable. By definition, only one radio button in a cluster can be ON, so
you read and write the state of the cluster by getting and setting the index
(or tag) of the button that is on (selected).

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSMatrix with radio buttons - problem detecting states (From: Phillip Hutchings <email@hidden>)

  • Prev by Date: Re: Carbon vs Cocoa arguments
  • Next by Date: RE: why mouseMoved doesn't work...
  • Previous by thread: NSMatrix with radio buttons - problem detecting states
  • Next by thread: How to not open a new document at app start up (init NSDocument or NSWindowController ?)
  • Index(es):
    • Date
    • Thread