• 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: Drag and dropping into an NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and dropping into an NSTextView


  • Subject: Re: Drag and dropping into an NSTextView
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 19 Apr 2002 13:26:20 -0700

On Friday, April 19, 2002, at 01:09 PM, Shayne Packer wrote:

In Interface Builder, I created an NSTextView (contained in an NSScrollView). I can't figure out how do make it receive drops being dragged onto it. I tried subclassing the NSScrollView, and implemented the standard methods (draggingEntered, concludeDragOperation, drawRect, etc.). I can drag stuff into it, but it only lets me drop when I am in a one-pixel-wide frame around the view. I tried some other stuff, but this is as close as I got.

What are you trying to drop on to it? Have you tried turning on "Graphics allowed"?

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Drag and dropping into an NSTextView (From: Shayne Packer <email@hidden>)

  • Prev by Date: Print margins problem
  • Next by Date: Re: NSBitmapImageRep problem (I think)
  • Previous by thread: Drag and dropping into an NSTextView
  • Next by thread: Print margins problem
  • Index(es):
    • Date
    • Thread