RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebApplication.Initialize Method

Introduces an interface for a method that initializes the application.

Pascal
procedure Initialize; virtual;
C++
virtual __fastcall Initialize();

The Initialize method for TWebApplication does nothing. Initialize is the first method called for every project. Descendants of TWebApplication that must perform any initialization before the application starts running override this method for that purpose.

Note: Although Initialize is the first method called in the project source code, it is not the first code that is executed in an application.
 

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