JVCL Help:TJvDropTarget.OnDragDrop
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvDropTarget.OnDragDrop Event
[+] TJvDropTarget Events
[+] TJvDropTarget Methods
[+] TJvDropTarget Properties
Search in JVCL Help
Search in all projectsSummary
Called when the dragged files are dropped on the control.
Pascal
TJvDragDropEvent = procedure (Sender: TJvDropTarget; var Effect: TJvDropEffect; Shift: TShiftState; X, Y: Integer) ofobject;
propertyOnDragDrop: TJvDragDropEvent;
Parameters
Parameters | Description |
X | The horizontal coordinate of the mouse cursor in screen coordinates. |
Y | The vertical screen of the mouse cursor in screen coordinates. |
Shift | The current state of the shift keys. |
Sender | The TJvDropTarget that called the event. |
Effect | The effect to apply to the cursor. |
Description
Write a handler for the OnDragDrop event to take specific action when the dragged files are dropped on the control. For example, you can add the names of the dropped files to a list.
See Also
TJvDropTarget.OnDragAccept, TJvDropTarget.OnDragEnter, TJvDropTarget.OnDragLeave
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page