FROM : Mitchell Livingston
DATE : Tue Jan 22 21:22:49 2008
Hello,
I want to be able to have mouse down in a table view not hilight the
cell in certain situations (specifically if there's a button there). I
tried returning different values in the hittest method of the cell,
but they all cause the cell to become selected. I also tried
overriding the table view's mouseDown:, but I can't do mouse tracking
in the cell without calling super's mouseDown:, which causes the cell
to become selected as well.
tableView:selectionIndexesForProposedSelection: seems to avoid
hilighting the cell, but it also causes mouse tracking now to work.
Any help would be appreciated.
Cheers,
Mitch
DATE : Tue Jan 22 21:22:49 2008
Hello,
I want to be able to have mouse down in a table view not hilight the
cell in certain situations (specifically if there's a button there). I
tried returning different values in the hittest method of the cell,
but they all cause the cell to become selected. I also tried
overriding the table view's mouseDown:, but I can't do mouse tracking
in the cell without calling super's mouseDown:, which causes the cell
to become selected as well.
tableView:selectionIndexesForProposedSelection: seems to avoid
hilighting the cell, but it also causes mouse tracking now to work.
Any help would be appreciated.
Cheers,
Mitch
| Related mails | Author | Date |
|---|---|---|
| Mitchell Livingsto… | Jan 22, 21:22 | |
| Hamish Allan | Jan 22, 21:46 |






Cocoa mail archive

