4. System Classes : TreeNode Class
 
Share this page                  
TreeNode Class
The TreeNode class represents a single data item in a Tree object. Each TreeNode consists of a text label, and optionally a pair of bitmap labels. The bitmap labels appear to the left side of the text label. They can be used in one of two ways:
As an indicator of the node's selected or unselected states—use SelBmpLblIndx
As an indicator of whether the node is expanded or contracted—use ExpandedBmpLblIndx
A TreeNode that has child nodes is referred to as a parent node. Child nodes, when displayed within a TreeviewField, are indented below their parent node. A node can also have sibling nodes that are all indented at a same distance.
You can use the ClientData attribute (see ClientData Attribute) inherited from the Object class to associate application-specific data to each node.
Inherits From
Object Class (see Object Class)
Inherited By
None
Attributes
BmpLblIndx
Children
Descendants
FirstChild
HasChildren
IsExpanded
IsSelected
IsVisible
LastChild
NextSibling
ParentNode
PrevSibling
SelBmpLblIndx
TextLabel
Methods
None