[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TTreeNode.GetNext

Gets the next node in the tree hierarchy.

Declaration

Source position: comctrls.pp line 3112

public function TTreeNode.GetNext: TTreeNode;

Function result

TTreeNode that is a child or sibling of the current node, or Nil when neither condition is satisfied.

Description

Calls GetFirstChild to begin the search for the next tree node in the hierarchy. If a child node is not found, the GetNextSkipChildren method is called to locate the next sibling node in the tree.

See also

TTreeNode.GetFirstChild

  

Gets the first child node in the Items property.

TTreeNode.GetNextSkipChildren

  

Gets the next sibling for the current tree node, or Nil when a sibling node does not exist.


Version 4.0 Generated 2025-05-03 Home