Skip to content

TComponentEnumerator.MoveNext

Move the position of the enumerator to the next position in the children of the component.

Declaration

Source position: classesh.inc line 2608

public 
function TComponentEnumerator.MoveNext : Boolean;

Description

MoveNext puts the pointer on the next child in the components child components, and returns True if this succeeded, or False if the pointer is past the last child in the list.

Errors

Note that if False is returned, calling GetCurrent will result in an exception.

See also

Name Description
GetCurrent Return the current pointer in the list.