• 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
Interface Builder input panel fields not updated when OK button clicked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interface Builder input panel fields not updated when OK button clicked


  • Subject: Interface Builder input panel fields not updated when OK button clicked
  • From: Ben Golding <email@hidden>
  • Date: Fri, 9 Apr 2010 15:02:42 +1000

This must be an old question but I can't seem to find a way to ask it so Google will lead me to the answer.

I have an input sheet that drops down from the window, it works fine.  A user updates input fields on it and then presses the OK button to close the sheet and update the app.  In one of the NSTextFields on the form, if the user enters text (without leaving the field) and then clicks the OK button, the value to which the field is bound isn't updated.  So if they enter "100" into the value field and click "OK", the value back in the app stays "0" (or whatever it was before).

I can't seem to find a way of ending editing on all the fields when the button is pressed?  Is there a way to do this?

Thanks,

	Ben.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: Interface Builder input panel fields not updated when OK button clicked
      • From: Jon Pugh <email@hidden>
  • Prev by Date: Re: "Toll free" bridge from NSAttributedString * to CFAttributedStringRef
  • Next by Date: Re: Interface Builder input panel fields not updated when OK button clicked
  • Previous by thread: Re: NSTableView Key Value Observing performance pickle
  • Next by thread: Re: Interface Builder input panel fields not updated when OK button clicked
  • Index(es):
    • Date
    • Thread