Custom control, changing cursor, bindings and placeholders
Custom control, changing cursor, bindings and placeholders
- Subject: Custom control, changing cursor, bindings and placeholders
- From: "Sean McBride" <email@hidden>
- Date: Fri, 5 Nov 2004 22:55:11 -0500
Hi,
I have a custom control that changes its cursor whenever its value
changes. To achieve this, I've overridden setObjectValue: to call super
and modify the cursor rects appropriately. I'm not sure if this is the
best way, but it works well, except in one case:
If my control is bound to a controller (via cocoa bindings), and the
situation is such that the null placeholder is invoked, my control's
setObjectValue: is never called, so I miss my opportunity to change the
cursor.
How can my control deal with this?
Thanks!
--
Erroneous google translation: "Do not despair! One day, we will find of
the job!"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden