• 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
Re: NSMatrix, scroll wheel and tool tips
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMatrix, scroll wheel and tool tips


  • Subject: Re: NSMatrix, scroll wheel and tool tips
  • From: Graham Cox <email@hidden>
  • Date: Wed, 4 Feb 2009 10:28:00 +1100


On 4 Feb 2009, at 4:45 am, David Blanton wrote:

I have an NSMatrix (sub-classed) of NSImage cells. I set the appropriate tool tip for each cell.
When scrolling the matrix using the knob or scroll buttons the tool tips are fine.
When scrolling the matrix using the wheel on the mouse the tool tips are incorrect.
Touching the knob after scrolling with the mouse wheel brings the tool tips back into sync.


Is there a method to call after the user scrolls the matrix with the mouse wheel to bring everything back into sync?


I don't know if there is - a quick scan of the docs for the class doesn't reveal anything, but I just tried this with an unsubclassed NSMatrix, and it works fine. That would suggest that something in your subclass is causing this.

Why are you subclassing? Typically I have found that custom appearance/ behaviour of an NSMatrix is achievable using custom cells, rather than subclassing the matrix itself.

--Graham


_______________________________________________

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: NSMatrix, scroll wheel and tool tips
      • From: David Blanton <email@hidden>
References: 
 >NSMatrix, scroll wheel and tool tips (From: David Blanton <email@hidden>)

  • Prev by Date: Re: Confused about NSTrackingAreas with autoscroll
  • Next by Date: Re: processName and Bundle Name -- the same?
  • Previous by thread: NSMatrix, scroll wheel and tool tips
  • Next by thread: Re: NSMatrix, scroll wheel and tool tips
  • Index(es):
    • Date
    • Thread