How to accept a drag&drop item?
briany at qldlearning.com
Thu Aug 25 18:08:43 CDT 2005
Well, you can do it with two lines of code, or none =).
If you use an unlocked text field, it just works by default. I drag a
link from FireFox to an editable field, and the URL appears.
If you have a different kind of object receiving the drag, you can do
something like this:
set the acceptDrop to TRUE
put the dragData["text"] into fld "myURL"
If you look in the docs under "dragDrop" and all of the related terms,
it should spell things out quite nicely.
More information about the use-livecode