Re: NSTableView: detecting key input when NOT editing?
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.