Re: detect button selection in NSMatrix
Re: detect button selection in NSMatrix
- Subject: Re: detect button selection in NSMatrix
- From: Boris Remizov <email@hidden>
- Date: Mon, 8 Oct 2007 10:33:21 +0400
Hello, as I see the standard NSResponder subclass with attached to
your NSMatrix IBAction method can be used. This scheme works in one
of my project, where in IBAction method I determine the selected
items and perform some additional processing to allow user select/
unselect and drag the information viewed as matrix of flat state
buttons with different images and labels...
On Oct 7, 2007, at 05:46 , Mitchell Livingston wrote:
Hello,
I would like to know if there's a way to be notified every time the
selected button in an NSMatrix is changed. Is there a delegate/
notification for this, as I couldn't fine one? Overriding such
methods as selectedCell: doesn't seem to work in all cases, since
it could change from that method, several others, or user clicks,
and overriding them all doesn't seem like a good solution. I
basically just want to know which button is selected so that I can
display it differently from the others, while at the same time
"dim" the held down button.
Thanks,
Mitchell Livingston
_______________________________________________
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