DropFile

[event icon] 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


>

DropFile

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.

See also

Button methods, properties and events. CheckBox methods, properties and events. Form methods, properties and events. Graph methods, properties and events. Grid methods, properties and events. KCMLEdit methods, properties and events. List Box methods, properties and events. Picture Button methods, properties and events. Radio methods, properties and events. Rich Edit methods, properties and events. Tree methods, properties and events.