JVCL Help:TJvCustomListBox.CreateDragImage

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

Search in JVCL Help

 
Search in all projects
 

Summary

Creates a drag image of the specified string.


Pascal

 procedureCreateDragImage(constS: string);


Parameters

Parameters Description
const S: string Specifies the item being dragged.


Description

CreateDragImage is called whenever the 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. It creates a drag image of the string specified by the S parameter. The image will appear next to the mouse cursor during the drag operation. You can call CreateDragImage in an OnStartDrag event handler to let the list box handle the start drag event in a default way.


See Also

TJvCustomListBox.DefaultDragDrop, TJvCustomListBox.DefaultDragOver, 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