• 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
Re: Detecting Click Location in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting Click Location in NSOutlineView


  • Subject: Re: Detecting Click Location in NSOutlineView
  • From: "Jason Barker" <email@hidden>
  • Date: Tue, 10 Apr 2007 15:15:56 -0600

Would I be better off subclassing a NSImageCell or NSTextCell and
trying to display and control state change in a more manual way?

Any feedback would be helpful.


Thanks, Jason

On 4/9/07, Jason Barker <email@hidden> wrote:
I have a NSOutlineView with a custom NSButtonCell formatter for the
first column. The custom cell formatter shows a checkbox. Its current
behavior is such that when a user clicks anywhere in the table cell
(except for the disclosure triangle), it changes the state of the
checkbox. What I want to do is limit the state change of the checkbox
to only cases when the user clicks on the checkbox itself and not just
anywhere in the table cell. How should I go about this?

Thanks,
Jason

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Detecting Click Location in NSOutlineView (From: "Jason Barker" <email@hidden>)

  • Prev by Date: stroke and fill - logs CGContextSetFillColorWithColor invalid context
  • Next by Date: NSTimer and Selector
  • Previous by thread: Detecting Click Location in NSOutlineView
  • Next by thread: NSTextField caret position
  • Index(es):
    • Date
    • Thread