DropFileList
DropFileList$
List of files dropped onto control (with HEX(0D) separators)
Runtime-only String property
Applies to: Button , CheckBox , Form , Graph , Grid , KCMLEdit , List Box , Picture Button , Radio , Rich Edit , Tree
Introduced in KCML version 6.00
A form that has the event handler DropFile can handle files dropped onto it using drag and drop, often from explorer. Within the event handler the list of files dropped are available in the DropFileList$ property. If there is more than one file then they are separated using the HEX(0D) character.
It is up to the programmer to determine how to handle the drop operation. The filenames will all be on the client and will need to be fetched back to the server by the programmer. The programmer must also be aware that several files may be dropped in one operation and that some files may in fact be directories.