Re: When the sender is an NSMatrix...
Re: When the sender is an NSMatrix...
- Subject: Re: When the sender is an NSMatrix...
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 7 Jul 2003 12:20:18 +0200
On lundi, juil 7, 2003, at 12:09 Europe/Paris, John Lombardo wrote:
I'm trying to get a method to distinguish between several
NSButtonCells in
an NSMatrix. The problem I'm having is that [sender tag] is giving the
tag
value of the Matrix rather than of the button that was clicked. I've
tried
wiring the action to both the Matrix and the ButtonCell (though not at
the
same time) however the result is still the same. Is there a better
(read:
working) means of determining which button was pressed?
[[sender selectedCell] tag];
_______________________________________________
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.