Re: Link two nsmatrix
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.