TBaseVirtualTree.BeginDrag Method

Virtual Tree View

Starts an OLE drag'n drop operation.

Pascal
procedure BeginDrag(Immediate: Boolean; Threshold: Integer = -1);
Description

This method is called within the mouse down handler when DragMode is set to dmAutomatic. Manual start of a drag operation is not recommended as it confuses the correct mouse down handling which is quite complex in Virtual Treevew. If you selectively want to allow to start a drag operation then use the OnDragAllowed event which is called when DragMode is dmManual.

Class
Links
What do you think about this topic? Send feedback!