Button in textfieldcell inside a table
Christiaan Hofman
cmhofman at gmail.com
Sun Dec 9 04:10:57 PST 2007
Hi all,
I'm trying to get a button inside a text cell in a tableview working
on Leopard. A bit like the little Store arrow buttons in iTunes.
I was doing this by using an NSTextFieldCell subclass, overriding -
drawRect: and -trackMouse:inRect:ofView:untilMouseUp:. This was
working fine on Tiger. However on Leopard -trackMouse:... is not
called anymore on a mouseDown:, so this approach completely fails.
Does anyone on this list have an alternative for doing this, that
works both on Tiger and Leopard?
Thanks,
Christiaan
More information about the MacOSX-dev
mailing list