• 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: NSTextView blocking mouseDown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTextView blocking mouseDown (From: Nik Youdale <email@hidden>)

  • Prev by Date: NSTextView blocking mouseDown
  • Next by Date: Core Data Problem
  • Previous by thread: NSTextView blocking mouseDown
  • Next by thread: Core Data Problem
  • Index(es):
    • Date
    • Thread