JVCL Help:TJvCustomListBox.DefaultStartDrag

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 start drag event.


Pascal

 procedureDefaultStartDrag(varDragObject: TDragObject); virtual;


Parameters

Parameters Description
var DragObject: TDragObject Not used.


Description

DefaultStartDrag is called whenever user begins to drag an item in the list box by left-clicking on that item and holding the mouse button down, and no OnStartDrag handler is specified.
DefaultStartDrag calls CreateDragImage to create a drag image of the item being dragged. The image will appear next to the mouse cursor during the drag operation.
You can call DefaultStartDrag in an OnStartDrag event handler to let the list box handle the start drag event in a default way.


See Also

TJvCustomListBox.CreateDragImage, TJvCustomListBox.DefaultDragDrop, TJvCustomListBox.DefaultDragOver,


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