RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTreeView.DoStartDrag Method

Drag start event dispatcher.

Pascal
procedure DoStartDrag(var DragObject: TDragObject); override;
C++
virtual __fastcall DoStartDrag(TDragObject DragObject);

DoStartDrag is called automatically when the user starts dragging the tree view or one of its items. It generates an OnStartDrag event, and then identifies the node (if any) that is being dragged. If the user is dragging a node (as opposed to the entire tree view), DoStartDrag generates an image for the node drag. 

Override DoStartDrag to perform any additional adjustments when the user starts a drag-and-drop operation. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!