• 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
Custom control, changing cursor, bindings and placeholders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: QuickTime Callback
  • Next by Date: Re: How to correctly control cursor???
  • Previous by thread: Re: QuickTime Callback
  • Next by thread: Re: How to correctly control cursor???
  • Index(es):
    • Date
    • Thread