[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#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 3108

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