Continuous NSTextField not updating bound value continuously?
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