Componentes.Terceros.DevExp.../official/x.38/ExpressWeb Framework/Demos/Delphi/FramesDemo/Frame2.pas
2008-08-27 11:56:15 +00:00

36 lines
719 B
ObjectPascal

unit Frame2;
interface
uses SysUtils, Classes, HTTPApp, cxWebModule, cxWebAppSrv, cxWebClasses,
cxWebControls, cxWebStdCtrls;
type
TFrame2Page = class(TcxWebPageModule)
private
{ Private declarations }
public
{ Public declarations }
end;
function Frame2Page: TFrame2Page;
implementation
{$R *.DFM} {*.html}
uses
WebReq, WebCntxt, cxWebModFact, Variants;
function Frame2Page: TFrame2Page;
begin
Result := TFrame2Page(WebContext.FindModuleClass(TFrame2Page));
end;
initialization
if WebRequestHandler <> nil then
WebRequestHandler.AddWebModuleFactory(TcxWebPageModuleFactory.Create(TFrame2Page, TcxWebPageInfo.Create('*.html'), caCache));
end.