FROM : Óscar Morales Vivó
DATE : Tue Aug 01 22:09:23 2006
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.
>>
DATE : Tue Aug 01 22:09:23 2006
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.
>>
| Related mails | Author | Date |
|---|---|---|
| Óscar Morales Vivó | Jul 31, 23:56 | |
| Corbin Dunn | Aug 1, 00:35 | |
| Óscar Morales Vivó | Aug 1, 22:09 |






Cocoa mail archive

