• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Forcing NSController to commit edits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Forcing NSController to commit edits
      • From: Ethan John <email@hidden>
    • Re: Forcing NSController to commit edits
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: menus and key equivalents
  • Next by Date: [SOLVED...but] Re: Storing NaN in NSMutableArray ?
  • Previous by thread: Re: menus and key equivalents
  • Next by thread: Re: Forcing NSController to commit edits
  • Index(es):
    • Date
    • Thread