Interface Builder input panel fields not updated when OK button clicked
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