Re: When the sender is an NSMatrix...
Re: When the sender is an NSMatrix...
- Subject: Re: When the sender is an NSMatrix...
- From: John Lombardo <email@hidden>
- Date: Mon, 07 Jul 2003 18:18:37 +0800
Dear John,
You are a boner. Use [sender selectedCell] because it seems unlikely that
any of your users will be capable of clicking on two buttons simultaneously.
Ciao ciao,
john
On 7/7/03 6:09 PM, "John Lombardo" <email@hidden> 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?
>
>
Cheers,
>
John Lombardo
_______________________________________________
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.