RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebModuleList.FindModuleName Method

Locates a Web module given its name.

Pascal
function FindModuleName(const AName: string): TComponent; override;
C++
virtual __fastcall TComponent * FindModuleName(const AnsiString AName);

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++). 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!