Drag-And-Drop Image Fun

Robert Brenstein rjb at rz.uni-potsdam.de
Wed May 28 08:12:00 EDT 2003


>Dear Yves,
>
>Thank you for your suggestions:
>
>On Wednesday, May 28, 2003, at 09:39  PM, yves COPPE wrote:
>
>>Klaus major has posted a stack in the user-contributions with some 
>>of samples with drag and drop.
>
>Yes, indeed. I had a look at his stack, however it only shows how to 
>script RECEIVING a dragged image (from the Finder or another 
>application) into your stack. It does not have an example of how to 
>GENERATE a dragged image object (ie, letting you START the dragging 
>INSIDE Revolution, and drag the image to the Finder). I tried 
>looking through the documentation about how to do this, but it is 
>very sketchy. Even though I've tried scripting it in different ways, 
>I haven't managed to to make it work. I just don't know exactly what 
>property of the 'image' object I should be putting inside 
>dragData["image"]. Everything I've tried, has failed - so there must 
>be a trick somewhere that I'm missing...
>

I think if you search list archives for DragDrop you will find an 
example of dragging a text or text field.

RObert



More information about the use-livecode mailing list