Vcl.Outline.TOutlineNode.MoveTo
Delphi
procedure MoveTo(Destination: LongInt; AttachMode: TAttachMode);
C++
void __fastcall MoveTo(int Destination, TAttachMode AttachMode);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TOutlineNode |
Description
Moves an outline node from one location within the outline to another.
Call MoveTo to reposition the node to the position indicated by the Destination parameter. Destination is the Index value of another outline node. The AttachMode parameter specifies how to attach the moved node to the destination position.
Note: To change only the level of a node, use the ChangeLevelBy method.