• 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
Enter Key Behavior in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enter Key Behavior in NSTableView


  • Subject: Enter Key Behavior in NSTableView
  • From: Chris Tracewell <email@hidden>
  • Date: Wed, 17 Jun 2009 16:03:19 -0700

I have a subclass of NSTableView which I have implemented keyDown to pick up delete and enter key presses. When the TV is bound to an array controller it works perfectly, I can detect keyDowns for the above mentioned and as a bonus when the user presses "Enter" or "Return" the field editor ends editing. Thats what I want.

The problem is that as soon as I hook up my File's Owner as the delegate for the TV the Field Editor no longer detects the Return and Enter key strokes. Is this normal? If so where do I look in docs to re- establish this behavior?
_______________________________________________


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: Enter Key Behavior in NSTableView
      • From: Raleigh Ledet <email@hidden>
  • Prev by Date: Re: UTI not identified correctly for some users.
  • Next by Date: Re: UTI not identified correctly for some users.
  • Previous by thread: Re: MDSchemaCopyAllAttributes() returning nil
  • Next by thread: Re: Enter Key Behavior in NSTableView
  • Index(es):
    • Date
    • Thread