Re: NSOutlineView and acceptsFirstMouse
Re: NSOutlineView and acceptsFirstMouse
- Subject: Re: NSOutlineView and acceptsFirstMouse
- From: Simon Berneche <email@hidden>
- Date: Mon, 18 Jul 2005 00:37:09 +0200
I didn't receive any hint on how to solve this problem, i.e. that a
NSOutlineView doesn't respond to the first mouse click, even if the
debugger shows that -acceptsFirstMouse is called and return YES. The
outline has two columns: textfieldcells, buttoncells, simply built
from within Interface Builder. The outline is alone in its window.
Could someone confirm that subclassing NSOutlineView and making -
acceptsFirstMouse to return YES is indeed working (under 10.4.2) and
that it's not a bug? Otherwise I should fill a bug.
Thanks
Simon
Hi,
I have seen the following problem exposed on different mailing
lists, but I didn't find any solution for it.
I have a subclass of a NSOutlineView for which -acceptsFirstMouse
returns YES, but the first mouse click only brings up the window.
I thought I had to subclass the NSButton filling one of the columns
of the table, but that didn't help. Should I subclass the
NSTextField contained in the other column as well?
I've tried setting the initialFirstResponder of the window, but
that didn't solve the problem either.
Any idea? Thanks.
Simon
_______________________________________________
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