Drag and dropping into an NSTextView
Drag and dropping into an NSTextView
- Subject: Drag and dropping into an NSTextView
- From: Shayne Packer <email@hidden>
- Date: Fri, 19 Apr 2002 16:09:09 -0400
How do I get an NSTextView to accept drops?
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.
Any ideas?
thanks, Shayne
_______________________________________________
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.