Componentes.Terceros.DevExp.../official/x.30/ExpressWeb Framework/Demos/Delphi/FramesDemo/Frame1.pas
2007-12-16 17:06:54 +00:00

39 lines
826 B
ObjectPascal

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