• 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: ESC to cancel editing in tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ESC to cancel editing in tableview


  • Subject: Re: ESC to cancel editing in tableview
  • From: Michael Watson <email@hidden>
  • Date: Fri, 5 Jan 2007 20:22:38 -0500

Does -[NSControl abortEditing] work for ending the edit the way you require?


--


On 05 Jan, 2007, at 19:33, Salánki Benjámin wrote:

I already thought of that, but keyDown of the table view does not get called while editing of a cell is in progress. So I have to rule that out. I added the cancelOperation: method to my subclass which actually gets called when i press ESC while the cell is being edited, but I can't figure out how to finish the actual edit. (cancelOperation is defined by NSResponder, but not implemented).

Ben

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >ESC to cancel editing in tableview (From: Benjámin Salánki <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: Michael Watson <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: Benjámin Salánki <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: Michael Watson <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: Salánki Benjámin <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: Michael Watson <email@hidden>)
 >Re: ESC to cancel editing in tableview (From: Salánki Benjámin <email@hidden>)

  • Prev by Date: Re: ESC to cancel editing in tableview
  • Next by Date: How do I subclass the NSScrollView of PDFView?
  • Previous by thread: Re: ESC to cancel editing in tableview
  • Next by thread: Re: ESC to cancel editing in tableview
  • Index(es):
    • Date
    • Thread