Re: Outline View CancelEditing
Re: Outline View CancelEditing
- Subject: Re: Outline View CancelEditing
- From: Graham Cox <email@hidden>
- Date: Sat, 19 Dec 2009 01:48:58 +1100
On 19/12/2009, at 1:35 AM, Sandro Noël wrote:
> But how do I actually cancel the editing operation?
Just make the outline view itself first responder. This will validate and resign the text field if it's OK.
[[outlineView window] makeFirstResponder:outlineView];
--Graham
_______________________________________________
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