RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOutlineNode.MoveTo Method

Moves an outline node from one location within the outline to another.

Pascal
procedure MoveTo(Destination: LongInt; AttachMode: TAttachMode);
C++
__fastcall MoveTo(LongInt Destination, TAttachMode AttachMode);

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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!