• 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: Link two nsmatrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link two nsmatrix


  • Subject: Re: Link two nsmatrix
  • From: Don Murta <email@hidden>
  • Date: Wed, 05 Feb 2003 13:25:22 -0700

There are probably much simpler strategies for doing this, but what comes mind is to use a notification, posted when one matrix gets selected, providing the sender as the object. If both matrices respond to the notification, then if sender != self, you disable all buttons on that matrix. You could also use a linking class between the two matrices to arbitrate the selection by a "i was picked, so turn you off" method, but I think the notifications are a little more clean (you don't need an extra class).

don

On Wednesday, February 5, 2003, at 08:33 AM, jean-michel daix wrote:
Is it possible to link 2 NSMatrix easily so that only one button is "ON" in
the 2 matrix at the same time ?
_______________________________________________
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: 
 >Link two nsmatrix (From: jean-michel daix <email@hidden>)

  • Prev by Date: NSFont Styles (Faces)
  • Next by Date: Re: Missing inactive and disabled states on some controls
  • Previous by thread: Link two nsmatrix
  • Next by thread: Re: Welcome To Macintosh Startup Screen (first-launch)
  • Index(es):
    • Date
    • Thread