• 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: NSTableView: detecting key input when NOT editing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView: detecting key input when NOT editing?


  • Subject: Re: NSTableView: detecting key input when NOT editing?
  • From: Daniel Todd Currie <email@hidden>
  • Date: Tue, 2 Mar 2004 21:41:54 -0800

I prefer to "listen" for key presses by making the tableView's window a subclass of NSWindow which overrides the -keyDown: method. You should be aware that there are a variety of other ways to do this, mine is not necessarily the best for your situation.


On 2004 Mar 02, at 15:38, Alessandro Volz wrote:

hi,
i have searched the archives a bit but didn't find what i need. i am trying to make that when <return> or <enter> are typed while browsing my tableView, i can do something special. have been searching up to NSResponder for some callback or notifier, no success. where's the trick? thank you!
Ale
_______________________________________________
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.


References: 
 >NSTableView: detecting key input when NOT editing? (From: Alessandro Volz <email@hidden>)

  • Prev by Date: How to get mouse moved events from sheet window
  • Next by Date: Re: NSTableView: detecting key input when NOT editing?
  • Previous by thread: NSTableView: detecting key input when NOT editing?
  • Next by thread: Re: NSTableView: detecting key input when NOT editing?
  • Index(es):
    • Date
    • Thread