Re: Detecting Click Location in NSOutlineView
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