RAD Studio VCL Reference
TComponentEnumerator.MoveNext Method

Moves to the first, or next component within the containing component.

function MoveNext: Boolean;
__fastcall Boolean MoveNext();

MoveNext moves through the list of components within the parent component specified at class instantiation. A value of true is returned if a component was found, otherwise false. MoveNext is normally used in a while-true block.

Note: Before you ever call GetCurrent, you must call MoveNext successfully, or an exception will be thrown.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!