RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebModuleList.OnModuleAdded Event

Occurs when a new Web module is added to the Items property array.

Pascal
property OnModuleAdded: TModuleAddedProc;
C++
__property TModuleAddedProc OnModuleAdded;

Write an OnModuleAdded event handler to take specific action when a Web module is instantiated in the current Web context. When the WebSnap application creates a new Web module instance, it generates an OnModuleAdded event immediately after adding the instance to the Items property array.

Note: Do not write an OnModuleAdded event handler if the application contains a TWebAppComponents object. TWebAppComponents uses this event to initialize the Web modules when they are added.
 

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