RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebModule.Create Constructor

Creates an instance of TWebModule.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TWebModule(TComponent * AOwner);

Do not create instances at runtime. The Web module is created automatically when a Web application project is created at design time. Every time a Web server application is run in response to an HTTP request message, a new TWebModule is created based on the Web module that was created at design time. 

Create generates an OnCreate event, so that Web applications can initialize the Web module before the new HTTP request message is processed. 

 

OnCreate 

Create_d

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