mouse down in table view without selecting the row
mouse down in table view without selecting the row
- Subject: mouse down in table view without selecting the row
- From: Mitchell Livingston <email@hidden>
- Date: Tue, 22 Jan 2008 15:22:49 -0500
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden