Click on NSActionCell
Click on NSActionCell
- Subject: Click on NSActionCell
- From: Lorenzo <email@hidden>
- Date: Sat, 25 Mar 2006 20:11:37 +0100
I put my NSActionCell as cell of my NSTableView column.
This cell contains some sub-cells like a slider and a text.
Now I would like to track the mouse ONLY if the mouse click has been done
INTO the cell. For example, if I click on a sub-cell (slider) of myCell then
I drag the mouse, I change a value; but if I click on the next column then I
drag over the slider, I don't have to change the value.
Actually instead, I have noted, even if I click on the next column then I
drag the mouse onto my column (thus onto my cell, thus onto the slider), the
methods startTrackingAt: and trackMouse: have been calling all the time.
So, how can I know if the original click has been done on my cell?
mouseDown doesn't work...
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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