RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTreeView.DoEndDrag Method

End drag event dispatcher.

Pascal
procedure DoEndDrag(Target: TObject; X: Integer; Y: Integer); override;
C++
virtual __fastcall DoEndDrag(TObject * Target, int X, int Y);

DoEndDrag is called automatically when the user stops dragging the tree view or one of its items. The drag operation may end either because the tree view was dropped on the object specified by Target, or because the user canceled the drag operation (if Target is nil (Delphi) or NULL (C++)). 

Override DoEndDrag to perform any additional adjustments when the user stops dragging the tree view. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!