• 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: Escape in NSTableView cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Escape in NSTableView cell


  • Subject: Re: Escape in NSTableView cell
  • From: Dave Reed <email@hidden>
  • Date: Mon, 07 Feb 2011 11:05:58 -0500

On Feb 7, 2011, at 9:49 AM, Ivan C Myrvold wrote:

> I have developed an application with a table view and text edit cell. When I press escape from a table view cell, I want the cell to lose focus and end editing. Instead I get a list of words in the cell. See picture at http://www.myrvold.org/cocoa/images/editcell_escape.png
>
> How can I avoid the list and get the functionality I want?

See this:

http://www.cocoabuilder.com/archive/cocoa/176709-esc-to-cancel-editing-in-tableview.html

Subclassing NSTableView and overriding cancelOperation appears to work. I don't know if there's a better way though.

Dave

_______________________________________________

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: Escape in NSTableView cell
      • From: Kyle Sluder <email@hidden>
References: 
 >Escape in NSTableView cell (From: Ivan C Myrvold <email@hidden>)

  • Prev by Date: NSDocument Question
  • Next by Date: Re: Debugging Allocations. Was:NSUndoManager
  • Previous by thread: Escape in NSTableView cell
  • Next by thread: Re: Escape in NSTableView cell
  • Index(es):
    • Date
    • Thread