RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebModuleList.FindModuleName Method

Locates a Web module given its name.

Pascal
function FindModuleName(const AClass: string): TComponent; virtual; abstract;
C++
virtual __fastcall TComponent * FindModuleName(const AnsiString AClass) = 0;

Call FindModuleName to locate the Web module instance of a given name. FindModuleClass searches the Items property array for a Web module instance of the specified name.  

AName is the name of the desired Web module. 

FindModuleName returns the requested Web module instance if it exists. If there is no Web module with the specified name, FindModuleClass returns nil (Delphi) or NULL (C++).

Note: In TAbstractWebModuleList, FindModuleClass is abstract or, in C++ terminology, pure virtual, meaning it has no implementation. Descendant classes override this method to provide an implementation.
 

 

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