Sign in Join
FPDoc Onlineexperiment

TTreeNode.GetNextSibling function

Member of TTreeNodepublicIn unit ComCtrls

Returns the next node in the tree hierarchy at the same level as the current node.

Declaration

pascal
function GetNextSibling: TTreeNode

Function result

TTreeNode instance which is the next node at the same level as the current node, or Nil if no other nodes are stored at the same level in the Parent.

Description

The internal member with the return value for the method is updated when the MoveTo method is called for the tree node. This occurs when the value in Index is modified. It is also updated when methods in TTreeNode are called to add or insert a tree node into the node list.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.