Sign in Join
FPDoc Onlineexperiment

TListItemsEnumerator.Current property

Member of TListItemsEnumeratorpublicIn unit ComCtrls

Current value for the enumerator.

Declaration

pascal
property Current: TListItem read GetCurrent;

Description

Current is a read-only TListItem property which contains the list item found at the current position for the enumerator. The property value is Nil (and an exception is raised) if Current is used to access a position prior to or after a valid position in the list item container.

Use MoveNext to move the enumerator to the first/next list item in the container. When MoveNext returns False, there are no more list items available to the enumerator.

See also

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