RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMultiModuleWebAppServices.ModuleAdded Method

Initializes a Web module when it is activated while processing the current request.

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

TMultiModuleWebAppServices assigns ModuleAdded as the OnModuleAdded event handler on the TWebModuleList that is the value of the WebModules property. As a result, this method is called every time the WebSnap application activates a new Web module while processing the current request. 

ModuleAdded calls the InitModule method to initialize the new Web module before it is used. 

AWebModule is the newly activated Web module. 

 

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