Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TTreeNode.MoveTo

MoveTo - method for relocating a node to the specified Destination using the specified mode of attachment.

Declaration

Source position: comctrls.pp line 3102

public procedure TTreeNode.MoveTo(

  Destination: TTreeNode;

  Mode: TNodeAttachMode

); virtual;

Description

MoveTo - method for relocating a node to the specified Destination using the specified mode of attachment.

Definition of the modes of attachment:

naAdd
Add as last sibling of Destination
naAddFirst
Add as first sibling of Destination
naAddChild
Add as last child of Destination
naAddChildFirst
Add as first child of Destination
naInsert
Insert in front of Destination
naInsertBehind
Insert behind Destination