RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWebDataModule Class

TCustomWebDataModule is the base class for all Web modules in a WebSnap application.

Pascal
TCustomWebDataModule = class(TDataModule, IWebVariablesContainer, INotifyWebActivate, IIterateObjectSupport, IWebSnapObjClass);
C++
class TCustomWebDataModule : public TDataModule, public IWebVariablesContainer, public INotifyWebActivate, public IIterateObjectSupport, public IWebSnapObjClass;

TCustomWebDataModule is the common base class for Web modules that can be used in a WebSnap application. This class introduces properties for the current HTTP request and response objects, a property to hold the current session object, and events that let you respond when the Web module is activated and deactivated. It also introduces support for interacting with server-side script and managing the WebSnap components that are placed into the Web module. 

Do not create instances of TCustomWebDataModule. It is intended only as a base class. Instead, use the Web module wizard or the WebSnap application wizard to add a TCustomWebDataModule descendant to your WebSnap application. Descendant classes include TWebAppDataModule, TWebAppPageModule, TWebPageModule, and TWebDataModule

 

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