Re: Detect click of cell in NSTableView
Re: Detect click of cell in NSTableView
- Subject: Re: Detect click of cell in NSTableView
- From: Moray Taylor <email@hidden>
- Date: Sat, 5 Jun 2004 22:22:21 +0100
Thanks, I don't know how I missed it!
Moray
On Sat, 5 Jun 2004 00:07:07 +0100, Moray Taylor
<email@hidden>
said:
I want to know which cell was clicked in an NSTableView, I can get row
very easily of course, but how do I get the column? (If I know both, I
could figure out the cell.)
<file:///Developer/Documentation/Cocoa/Reference/ApplicationKit/
ObjC_classic
/Classes/NSTableView.html>
Put -clickedColumn and -clickedRow together and you've got the cell. m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.
_______________________________________________
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.