RAD Studio VCL Reference
|
TComponentEnumerator allows the components within a containing component to be discovered.
TComponentEnumerator = class;
class TComponentEnumerator;
The TComponentEnumerator returns references to the components contained within a specified containing component. This allows an application to inspect the contents of a component at run time.
It is useful, for example, for repeated sets of controls in panels on a form. When the user selects one panel (by button press within, for example), the code can determine the parent panel, and then use TComponentEnumerator to get the names of the controls on this particular panel.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|