TComponentEnumerator class
Implements
IEnumerator for the
TComponent class.
Declaration
TComponentEnumerator = classDescription
TComponentEnumerator implements the
IEnumerator
interface for the
TComponent class, so the
TComponent
class can be used in a
for ... in loop over the
Components child components of the
component. It is returned by the
GetEnumerator method of
TComponent.See also
Properties
Current | public | Current pointer in the list. |
Methods
Create | public | Initialize a new instance of TComponentEnumerator. |
GetCurrent | public | Return the current pointer in the list. |
MoveNext | public | Move the position of the enumerator to the next position in the children of the component. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
