• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detect click of cell in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: Multiline using #define
  • Next by Date: NSBundle and PlugIns
  • Previous by thread: Re: Getting Items From MainMenu
  • Next by thread: NSBundle and PlugIns
  • Index(es):
    • Date
    • Thread