• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Click on NSActionCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: NSTableView + setObjectValue + NSCell
  • Next by Date: Re: -[NSString localizedCompare:] - example of semantic difference with compare?
  • Previous by thread: Re: NSTableView + setObjectValue + NSCell
  • Next by thread: Editable table column not editable if displayPatternValue is bound?
  • Index(es):
    • Date
    • Thread