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

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to