• 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: Paul Kim <email@hidden>
  • Date: Fri, 5 Jan 2007 19:18:29 -0500

This is what I use (which Sean also suggested):


- (void)cancelOperation:(id)sender { if ([self currentEditor] != nil) { [self abortEditing]; // We lose focus so re-establish [[self window] makeFirstResponder:self]; } }



Paul Kim
------------------------------------
Chief Noodler - Noodlesoft
email@hidden
http://www.noodlesoft.com



_______________________________________________

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>)

  • Prev by Date: Re: ESC to cancel editing in tableview
  • Next by Date: Re: ESC to cancel editing in tableview
  • Previous by thread: Re: ESC to cancel editing in tableview
  • Next by thread: NSPopupButton with NSArrayController
  • Index(es):
    • Date
    • Thread