Csaba,

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:

on dragEnter
  set the acceptDrop to TRUE
end dragEnter

on dragDrop
  put the dragData["text"] into fld "myURL"
end dragDrop

If you look in the docs under "dragDrop" and all of the related terms, it should spell things out quite nicely.

- Brian

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to