How to force NSTableView to stop editing a text cell?
How to force NSTableView to stop editing a text cell?
- Subject: How to force NSTableView to stop editing a text cell?
- From: Graham Cox <email@hidden>
- Date: Wed, 9 Apr 2008 22:51:57 +1000
How can I force a text cell in NSTableView to stop editing? On 10.4 I
could just tell the view's window to make the entire table the first
responder and that did the trick, but on 10.5 this no longer works.
I'm trying to do this from within the textDidEndEditing: notification
method so that I can suppress the table behaviour that goes to the
next row and starts editing there - I just want the text to end
editing on typing return and the table view to go back to its previous
state - same row selected but no text being edited.
------
S.O.S.
_______________________________________________
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