[Q] NSTextField and binding: What gets called?
[Q] NSTextField and binding: What gets called?
- Subject: [Q] NSTextField and binding: What gets called?
- From: admin <email@hidden>
- Date: Sun, 8 Feb 2009 10:06:40 -0500
I' override an NSTextField to handle re-size if text size changes.
Problem is it only reacts on text input by the user [self
textDidChange:] but not if changed through binding because [self
textDidChange:] is never called.
Which of the methods do I need to override in order to get notice of
any changes in the NSTextField cell? BTW, I've tried to override [self
setObjectValue:] and it's only called once and it seams to be before
the string value was set by the binding activity. [self
setStringValue:] gets never called from any binding activity....
Wilfried
_______________________________________________
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