AW: Drag & Drop

claus at dreischer.de claus at dreischer.de
Mon Mar 17 10:40:01 EST 2003


 --- Ursprüngliche Nachricht --- 
Datum: 17.03.2003 13:40
Von: use-revolution at lists.runrev.com
An: use-revolution at lists.runrev.com
Betreff: Re: Drag & Drop
  
> Hi Rolf,
> 
> > Can anyone explain what has to be scripted to have a Stack, where
> > one can drop a File from the Finder into an img grc and then,
> >  the Stack would put the path of the droped file into the message
box.
> 
> here is a simple handler that i put into the card-script of my
> drag'n'drop test stack (only one card ;-)...
> 
> It requires an image, a field and a player:
> Very basic, but should gt you started :-)
> 
> 
> on dragenter
>    set the acceptdrop to true
> end dragenter
> 
> on dragdrop
>    put the dragdata
> ## That's it... This line will put the path = dragdata into the msg.
> ## Then after i check where to put the files, if at all...
> 
...

Hi Klaus,

have you tested this on an linux box?

I have the problem that drag&drop does not work on linux,
but it does work on windows. Any idea?


> Regards
> 
> Klaus Major

Gruß,
 Claus.



More information about the use-livecode mailing list