Forcing NSController to commit edits
Forcing NSController to commit edits
- Subject: Forcing NSController to commit edits
- From: Ali <email@hidden>
- Date: Wed, 10 Mar 2004 15:05:38 -0500
Hey guys,
I've got a problem where if an edit is in progress(i.e. the cursor is
in a textView or textField) and i close the window the edit is not
propagated, it is ignored(until the user pressed enter or tabs out). So
i'd like to be able to force the controller to take all pending edits.
For example, hitting a Done button on a sheet when the user has just
entered info into a text field but hasn't hit enter or tab yet, the new
data would be lost. Anyone have any ideas? Thanks,
Ali
Ali Lalani
e-mail: email@hidden
--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.