Re: Tracking the mouse in a cell in a NSTableView
Re: Tracking the mouse in a cell in a NSTableView
- Subject: Re: Tracking the mouse in a cell in a NSTableView
- From: Óscar Morales Vivó <email@hidden>
- Date: Tue, 1 Aug 2006 16:09:23 -0400
Ah, that did the trick. I don't know how I missed that one. Probably
because I forgot to look into the class methods :P
On Jul 31, 2006, at 18:35 , Corbin Dunn wrote:
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