• 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
Continuous NSTextField not updating bound value continuously?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Continuous NSTextField not updating bound value continuously?


  • Subject: Continuous NSTextField not updating bound value continuously?
  • From: Doug Knowles <email@hidden>
  • Date: Tue, 8 Sep 2009 14:05:53 -0400

Hi,
I have a text field (two, actually) bound to a string value in a controller
object, and I'd like to validate the value on each keystroke so that I can
enable other controls appropriately depending on the content of the field.
The text fields are set to "continuous" updating in IB, and I have confirmed
this by checking the fields' "isContinuous" in the code. However, the bound
value is not updated on every keystroke, but only when the field loses key
status.

The only thing that I can think is different between this case and most
other uses is that the window is application modal, but I can't think of why
that would affect continuous updating.

Any thoughts of something else I might be missing?

TIA,
Doug K;
_______________________________________________

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: Continuous NSTextField not updating bound value continuously?
      • From: Jason Foreman <email@hidden>
  • Prev by Date: Re: NSImage with multiple representation sizes
  • Next by Date: Re: Sheets positioning.
  • Previous by thread: Re: Sheets positioning.
  • Next by thread: Re: Continuous NSTextField not updating bound value continuously?
  • Index(es):
    • Date
    • Thread