• 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: Tracking the mouse in a cell in a NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking the mouse in a cell in a NSTableView


  • Subject: Re: Tracking the mouse in a cell in a NSTableView
  • From: Corbin Dunn <email@hidden>
  • Date: Mon, 31 Jul 2006 15:35:29 -0700


On Jul 31, 2006, at 2:56 PM, Óscar Morales Vivó wrote:

I've noticed that the default behavior when tracking the mouse in a table view is for the tracking cell to stop tracking once the mouse gets out of its bounds.

This really depends on the cell. NSButtonCell, for instance, does not do this. What kind of cell are you using?



The problem is that I haven't found any reasonable way to change that (short of subclassing NSTableView, which is something I'll eventually have to do but would rather delay as much as possible).

You may have to modify prefersTrackingUntilMouseUp in your cell. You will not need to subclass TV for ths.


-corbin


Is there any good way to change that tracking behavior? (similar to the options that NSMatrix offers). If I've missed something obvious let me know. Otherwise suggestions for the less cumbersome way to do it would be welcome.


_______________________________________________
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


References: 
 >Tracking the mouse in a cell in a NSTableView (From: Óscar Morales Vivó <email@hidden>)

  • Prev by Date: Re: Bound object of NSPopUpButton always the same
  • Next by Date: Starting window instead of a new untitled document?
  • Previous by thread: Tracking the mouse in a cell in a NSTableView
  • Next by thread: Moving NSRulerMarker and the document view
  • Index(es):
    • Date
    • Thread