• 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: TableView & KeyDown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: TableView & KeyDown
      • From: Cate Tony <email@hidden>
References: 
 >TableView & KeyDown (From: Cate Tony <email@hidden>)

  • Prev by Date: Re: [Foo new] vs [[Foo alloc] init]:
  • Next by Date: Re: Best way to replace one view with another within a superview
  • Previous by thread: TableView & KeyDown
  • Next by thread: Re: TableView & KeyDown
  • Index(es):
    • Date
    • Thread