Re: NSTextView blocking mouseDown
Re: NSTextView blocking mouseDown
- Subject: Re: NSTextView blocking mouseDown
- From: Douglas Davidson <email@hidden>
- Date: Wed, 8 Feb 2006 18:24:42 -0800
On Feb 8, 2006, at 6:17 PM, Nik Youdale wrote:
I have a custom view with a textView in it. I have set the textView
to be not selectable, and not editable. So basically, when you
click on it, nothing happens. However, I would like the mouse
click, which the textView doesnt seem to do anything with, to be
passed to its super view, as if the textview were not there.
Without subclassing the textview, i just can not figure out how to
do this. Any ideas?
You would need to subclass and override mouseDown:. In a non-
selectable text view, as you have discovered, a mouseDown: does nothing.
Douglas Davidson
_______________________________________________
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