JVCL Help:TJvDragDrop.OnDrop

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

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when the user drops files on the drop target.


Pascal

 TJvDropEvent = procedure (Sender: TObject; Pos: TPoint; Value: TStrings) ofobject;
propertyOnDrop: TJvDropEvent;


Parameters

Parameters Description
Value Lists the names of the files that are dropped.
Pos Indicates the coordinates of the mouse pointer at the time the file was dropped.
Sender The component that has fired this event.


Description

Write an OnDrop event handler to respond when the user drops files on the drop target.


See Also

TJvDragDrop.AcceptDrag, TJvDragDrop.DropTarget


About

Notes

Set AcceptDrag to true, otherwise no OnDrop event is fired.


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