Sign in Join
FPDoc Onlineexperiment

TTreeNodesEnumerator.MoveNext function

Member of TTreeNodesEnumeratorpublicIn unit ComCtrls

Indicates if another tree node is available to the enumerator.

Declaration

pascal
function MoveNext: Boolean

Function result

True when more tree nodes are available in the internal container.

Description

MoveNext is a Boolean function which indicates if another tree node is available to the enumerator. MoveNext increments the internal position counter for the enumerator. The return value is True if the position counter is less than the number of entries in the internal TTreeNodes container (in the range 0..TTreeNodes.Count-1).

Use Current to access the TTreeNode instance when MoveNext returns True.

See also

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