RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOutlineNode.Create Constructor

Creates a new TOutlineNode object.

Pascal
constructor Create(AOwner: TCustomOutline);
C++
__fastcall TOutlineNode(TCustomOutline AOwner);

Do not call the constructor for TOutlineNode directly. Instead, use one of the methods of the outline component in which the node should appear. These methods are as follows:

Method 
Action 
Add  
Creates the node as the last sibling of a specified node.  
AddObject  
Same as Add, but also initializing the node's Data property.  
AddChild  
Creates the node as the last child of a specified node.  
AddChildObject  
Same as AddChild, but also initializing the node's Data property.  
Insert  
Creates the node in the current position of an existing node.  
InsertObject  
Same as Insert, but also initializing the node's Data property.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!