RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebContext.FindModuleName Method

Returns an instance of a Web module, given its class name.

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

Call FindModuleName to obtain a reference to a Web module given the name of its implementation class. If an instance of the specified class already exists, FindModuleName returns that instance. Otherwise, if the specified class represents a registered Web module class, FindModuleClass creates an instance of the specified class and returns the new instance. 

AClass is the name of a registered Web module class. This class is declared in code that the Web page module wizard or Web data module wizard generates. 

 

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