RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMultiModuleWebAppServices.InitModule Method

Initializes a Web module before the WebSnap application uses it to handle the current request.

Pascal
procedure InitModule(AWebModule: TComponent); virtual;
C++
virtual __fastcall InitModule(TComponent * AWebModule);

Both the ModuleAdded and the InitModules methods call InitModule to initialize a Web module after it is first created. InitModule assigns itself as the Web dispatcher to any content producers in the Web module, and notifies the Web module that it has been activated. 

AWebModule is the Web module component to initialize. 

 

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