RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponent.GetEnumerator Method

Returns a TComponent enumerator.

Pascal
function GetEnumerator: TComponentEnumerator;
C++
__fastcall TComponentEnumerator GetEnumerator();

GetEnumerator returns a TComponentEnumerator reference, which enumerates the components contained within a specified containing component.  

To process all these sub components, call the TComponentEnumerator GetCurrent method within a While MoveNext do loop. 

 

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