Link Search Menu Expand Document

Dropped Event


This event occurs when a drag and drop operation is used to drop the item.

A DroppedEvent object is passed as an argument to the OnDropped event handler.

It may occur multiple times depending on the dropped content. For example, if multiple files are dropped from Explorer, the event will occur several times for that file.

Events also occur when text data and files are dropped at the same time.

Example

Function OnDropped(e) {
    switch (e.Type) {
    case $STRING:
        print(e.Data, "\n");
        break;
    case $FILE:
        print(e.Data.PathName, "\n");
        break;
    }
}


Added since Ver.4.1.0
Not supported in Mobile, AI