On 1/14/12 8:07 AM, Randolph Valentine wrote:
Hi, all. I've got a very basic question. After a file is drag-and-dropped,
how can I determine WHAT the dropped item is referring to, e.g., a FOLDER or
a FILE, and if a file, RELIABLY, what KIND of file (e.g., a doc or a wav)?

See "dragData" in the dictionary. Write a dragDrop handler that checks the dragData["files"] and you can parse out the lines, which contain the file path(s) to the files that were dropped. This works cross platform.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

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

Reply via email to