Re: ESC to cancel editing in tableview
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