RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebModuleList.FindModuleClass Method

Locates a Web module given its class reference.

Pascal
function FindModuleClass(AClass: TComponentClass): TComponent; override;
C++
virtual __fastcall TComponent * FindModuleClass(TComponentClass AClass);

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

AClass is a class reference to the class type of the desired Web module. 

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

 

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