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: 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