Problem with NSButtonCell
Problem with NSButtonCell
- Subject: Problem with NSButtonCell
- From: Jeff LaMarche <email@hidden>
- Date: Sun, 4 Nov 2001 19:13:41 -0800
I've set up an NSTableView with an NSButtonCell for one of the columns.
I've set up the target and action so that when the button is clicked the
appropriate method in my control object is called.
What I don't know, however, is how to determine which row of the
NSTableView they clicked in. I had expected that the sender would
somehow indicate the row clicked, but the sender is simply the
NSTableView that contains the cell.
How can I determine which row's button was pressed?