git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@21 05c56307-c608-d34a-929d-697000501d7a
35 lines
718 B
ObjectPascal
35 lines
718 B
ObjectPascal
unit FramesHome;
|
|
|
|
interface
|
|
|
|
uses SysUtils, Classes, HTTPApp, cxWebModule, cxWebAppSrv;
|
|
|
|
|
|
type
|
|
TFramesHomePage = class(TcxWebFramesetModule)
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
{ Public declarations }
|
|
end;
|
|
|
|
function FramesHomePage: TFramesHomePage;
|
|
|
|
implementation
|
|
|
|
{$R *.DFM} {*.html}
|
|
|
|
uses
|
|
WebReq, WebCntxt, cxWebModFact, Variants;
|
|
|
|
function FramesHomePage: TFramesHomePage;
|
|
begin
|
|
Result := TFramesHomePage(WebContext.FindModuleClass(TFramesHomePage));
|
|
end;
|
|
|
|
initialization
|
|
if WebRequestHandler <> nil then
|
|
WebRequestHandler.AddWebModuleFactory(TcxWebFramesetModuleFactory.Create(TFramesHomePage, TcxWebPageInfo.Create('*.html'), caDestroy));
|
|
|
|
end.
|