Detecting Click Location in NSOutlineView
Detecting Click Location in NSOutlineView
- Subject: Detecting Click Location in NSOutlineView
- From: "Jason Barker" <email@hidden>
- Date: Mon, 9 Apr 2007 23:42:49 -0600
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