• 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
Force NSTextField to update (and transform)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Force NSTextField to update (and transform)
      • From: mmalc Crawford <email@hidden>
  • Prev by Date: Re: Positioning document within gray area of a scroller
  • Next by Date: Tool-tips on NSTabViewItem
  • Previous by thread: Re: 10.4 & 10.5 compatibility
  • Next by thread: Re: Force NSTextField to update (and transform)
  • Index(es):
    • Date
    • Thread