Show: Delphi C++
Display Preferences

System.Classes.TComponentEnumerator.MoveNext

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MoveNext: Boolean; inline;

C++

bool __fastcall MoveNext();

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TComponentEnumerator

Description

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

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.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance