Force NSTextField to update (and transform)
Force NSTextField to update (and transform)
- Subject: Force NSTextField to update (and transform)
- From: MichaĆ Glenc <email@hidden>
- Date: Fri, 26 Jun 2009 14:37:49 +0200
Hi,
I'm a beginner in Cocoa world and I have some problems with bindings,
NSValueTransformer etc.
My application performs basic currency transforming. I have two
NSComboBoxes (where I change currency) and two NSTextFields.
Everything works fine, the values get transformed. However, when I
change currency in one of ComboBoxes (after values in TextField have
been already entered), value in TextField stays unchanged. What I want
to achieve is to send the TextField (or perhaps the
NSValueTransformer) a message that it's value has been changed (so
that it retransforms) when the currency in ComboBox is changed. Could
you advise me something?
Greetings,
Michal
_______________________________________________
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