[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 2174

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
The latest version of this document can be found at lazarus-ccr.sourceforge.net.