Skip to main content

TdxOcNode Methods

A tree node.
Name Description
ChildrenHeight This function returns the total height (in pixels) of the area occupied by current node’s children.
ChildrenWidth Returns the node’s children width.
ClientRect Returns the node’s client area.
Collapse(Boolean) Collapses the node’s children.
DeleteChildren Deletes all the node’s children.
DisplayRect Returns the node’s bounding rectangle.
Equals(TObject) Inherited from TObject.
Expand(Boolean) Shows the node’s children.
Focused Identifies whether the node has focus.
FullHeight Returns the height of the current node and its expanded children, in pixels.
FullWidth Returns the width of the current node and its expanded children, in pixels.
GetFirstChild Returns the tree node’s first child.
GetHashCode Inherited from TObject.
GetLastChild Returns the tree node’s last child.
GetNext Returns the next node in the control’s nodes list.
GetNextChild(TdxOcNode) Returns the child node following the specified one.
getNextSibling Returns the next node at the same nesting level.
GetNextVisible Returns the next visible node in the list of all the control’s nodes.
GetNodeInfo(TdxOcNodeInfo,TdxScaleFactor) Returns certain node property values as a packed record.
GetPrev Returns the previous node in the list of all the control’s nodes.
GetPrevChild(TdxOcNode) Returns the child node preceding the specified one.
getPrevSibling Specifies the previous node at the same nesting level.
GetPrevVisible Returns the previous visible node in the list of all the control’s nodes.
HasAsParent(TdxOcNode) Identifies whether the specified node is the parent of the current one.
IndexOf(TdxOcNode) Returns the index of the specified child node.
IsParentRoot Identifies whether the node’s parent is the tree root.
MakeVisible Shows the node within the control’s client area.
MoveTo(TdxOcNode,TdxOcNodeAttachMode) Moves the current node to a specific location within the tree.
ToString Inherited from TObject.
See Also