RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTreeView.DropTarget Property

Specifies which item in the tree view appears as the target of a drag and drop operation.

Pascal
property DropTarget: TTreeNode;
C++
__property TTreeNode DropTarget;

Read DropTarget to determine whether a node in the tree view is drawn as the target of a drag and drop operation. Set DropTarget when specifying a particular node in the tree view as the drop target of a dragged item.

Note: When DropTarget is set, the application must still handle the actual logic of accepting the dragged object by the indicated node.
 

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