JVCL Help:TJvCustomListBox.DefaultDragOver

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

Search in JVCL Help

 
Search in all projects
 

Summary

Handles a drag over event.


Pascal

 procedureDefaultDragOver(Source: TObject; X: Integer; Y: Integer; State: TDragState; varAccept: Boolean); virtual;


Parameters

Parameters Description
Source: TObject The object being dragged.
X: Integer Horizon screen coordinate of the mouse in pixels.
Y: Integer Vertical screen coordinate of the mouse in pixels.
State: TDragState Specifies how the dragged object is moving over the control.
var Accept: Boolean Specifies whether to accept the dragged object.


Description

DefaultDragOver is called whenever the user drags an object over the list box, and no OnDragOver handler is specified. You can call DefaultDragOver in an OnDragOver event handler to let the list box handle the drag over event in a default way.


See Also

TJvCustomListBox.CreateDragImage, TJvCustomListBox.DefaultDragDrop, TJvCustomListBox.DefaultStartDrag,


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