RAD Studio VCL Reference
Classes.FindNestedComponent Function

FindNestedComponent returns a component contained within another.

function FindNestedComponent(Root: TComponent; const NamePath: string): TComponent;
TComponent * FindNestedComponent(TComponent * Root, const AnsiString NamePath);

Call FindNestedComponent to find a component by name contained within a specified containing component. 

Root specifies the containing component object. 

NamePath gives the name of the component nested in Root

If found, a reference to the nested component is returned. 


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