DropFile
DropFile() Event
Called when files are dragged on to the form
Applies to: Button , CheckBox , Form , Graph , Grid , KCMLEdit , List Box , Picture Button , Radio , Rich Edit , Tree
Introduced in KCML version 6.00
If a form has this event handler then it is able to receive files from a drag and drop operation from programs such as Explorer. One or more files may be dropped onto a form using this operation. When the event is triggered the list of files droppped can be retrieved using the DropFileList$ property. The ActiveControl property will indicate the control receiving the drop.
This event can also be added directly to any control. In the case of tree and grid controls this will allow the tree item or cell receiving the drop to be determined using the DragTargetItem property. Additionally the DropFileStyle property can be set on a control, tree item or cell to allow or deny the drop operation.