Thread View: comp.sys.next.programmer
1 messages
1 total messages
Started by mmelling Mellinger
Sat, 25 Jul 1992 00:13
dragFile method and ImageText
Author: mmelling Mellinger
Date: Sat, 25 Jul 1992 00:13
Date: Sat, 25 Jul 1992 00:13
23 lines
1626 bytes
1626 bytes
I need to be able to drag icons out of a Scrollview as well as drag icons into into them, like Edit permits in NS 3.0. Fortunately, each scrollview needs to only accept icons or allow them to be dragged out of the view, much like in the Mail.app scrollviews (applications can be dragged out of mailboxes, and attachments can only be dragged into new mail). In short, my application, needs to both take and give tiff images to the WorkSpace. Currently, I am modifying ImageText to be able to do this. I have created two documents, one is capable of either receiving an icon while the other allows it's icons images to be dragged out. However, I am not able to drag the icon out of my one window. The icon almost immediatley slides back, and the dragFile methods returns with a non-nil value. If I drag the icon fast enough, I can get the image to appear in the other document. The documentation leaves me with the impression that I should just be able to call dragFile with the icon's pathname, etc. and the rest is "magic". Unfortunately, this doesn't seem to be the case. Has anyone implemented this functionality under NS 2.0? Any help or caveats would be appreciated. -Mike Btw, NS 3.0 is not an option. In my timeframe, it is vapor.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads