JVCL Help:TJvDropTarget.OnDragAccept
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvDropTarget.OnDragAccept Event
[+] TJvDropTarget Events
[+] TJvDropTarget Methods
[+] TJvDropTarget Properties
Search in JVCL Help
Search in all projectsSummary
Called when the drag and drop needs to know if the dragged files will be accepted.
Pascal
TJvDragAcceptEvent = procedure (Sender: TJvDropTarget; var Accept: Boolean) ofobject;
propertyOnDragAccept: TJvDragAcceptEvent;
Parameters
Parameters | Description |
Accept | Set this to true to accept the files, false otherwise. |
Sender | The TJvDropTarget that called the event. |
Description
Write a handler for the OnDragAccept event to specify whether the dragged files can be dropped on the control. Set the value of Accept to true to accept the files, to false to not accept them. accepted by the control. For example, you can call
See Also
TJvDropTarget.OnDragDrop, 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