JVCL Help:TJvDropTarget.OnDragDrop

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

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