Re: Manually updating a data bound value of a bound text field
Re: Manually updating a data bound value of a bound text field
- Subject: Re: Manually updating a data bound value of a bound text field
- From: Matt Neuburg <email@hidden>
- Date: Thu, 18 Jun 2009 12:38:40 -0700
- Thread-topic: Manually updating a data bound value of a bound text field
On Thu, 18 Jun 2009 07:49:15 -0700, Ramakrishna Vavilala
<email@hidden> said:
>I have a window (displayed as a sheet) with a text field and some
>other controls. I can not set the binding mode to continuous so I use
>non continuous binding. Everything works fine as long as I press tab
>and switch to a different control. However when the the text field is
>the key view and I press OK button, then the value of the text field
>does not get reflected in the property to which it is bound. I want to
>make sure that when the user clicks OK button the property value is
>updated. How can I do that apart from making the binding continuous?
Have the OK button set the window's first responder to nil? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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