Vcl.ComCtrls.TCustomTreeView.DoStartDrag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoStartDrag(var DragObject: TDragObject); override;

C++

DYNAMIC void __fastcall DoStartDrag(Vcl::Controls::TDragObject* &DragObject);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomTreeView

Description

Drag start event dispatcher.

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.

See Also