Link Search Menu Expand Document

DroppedEvent.Data Property

The dropped data. The object that matches the data format of the Type property is set.

Type property Object stored in Data property
$ STRING String object
$ FILE File object
$ OBJECT Object set by source

Example of use

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