RAD Studio VCL Reference
|
Sets the level of an outline node.
procedure SetLevel(Node: TOutlineNode; CurLevel: Cardinal; NewLevel: Cardinal);
__fastcall SetLevel(TOutlineNode Node, unsigned CurLevel, unsigned NewLevel);
Call SetLevel to change the nesting depth of the node specified by the Node parameter. CurLevel is the node's current level and NewLevel is the node's new level.
For example, consider the outline specified by the following value of Lines:
NodeA NodeB NodeC NodeD
Calling SetLevel for NodeD with CurLevel set to 2 and NewLevel set to 4 results in the outline with the following value of Lines:
NodeA NodeB NodeC NodeD
That is, the parent of NodeD was changed from NodeA to NodeC.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|