Sign in Join
FPDoc Onlineexperiment

TTreeNode.AbsoluteIndex property

Member of TTreeNodepublicIn unit ComCtrls

The absolute ordinal position for the node, regardless of its level or ancestry, in the tree node hierarchy.

Declaration

pascal
property AbsoluteIndex: Integer read GetAbsoluteIndex;

Description

AbsoluteIndex is a read-only Integer property which contains the absolute ordinal position for the tree node, regardless of its parent or level, in the hierarchy of tree nodes. For example:

  • The first node in the tree hierarchy has the absolute index position 0.
  • The first child nodes (in Items) has an index position which is 1 larger than the AbsoluteIndex for its Parent node.
  • The next sibling node has an absolute index position which is incremented by 1 plus the SubTreeCount value from its sibling.

See also

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