Re: TableView & KeyDown
Re: TableView & KeyDown
- Subject: Re: TableView & KeyDown
- From: Jens Alfke <email@hidden>
- Date: Sun, 17 Feb 2008 16:56:48 -0800
On 17 Feb '08, at 5:09 AM, Cate Tony wrote:
I'm trying to grab keyDown events from a tableView. I subclass
NSTableView and added the - (void)keyDown:(NSEvent *)theEvent
method. I'm not getting the events. Oddly, I am getting mouseDown
events. Can someone tell me what I've got wrong?
That's odd — I've done this before and it works. Are you certain the
table view is the firstResponder? For instance, if you press the up
and down arrow keys, does the selection move?
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden