unit4.pas

来自「DELPHI7编程百例 DELPHI7编程百例 DELPHI7编程百例」· PAS 代码 · 共 39 行

PAS
39
字号

unit Unit4;

interface

uses
  Windows, Messages, SysUtils, Classes, HTTPApp, WebModu, HTTPProd,
  WebForm, WebComp, MidItems, CompProd, PagItems, SiteProd;

type
  TAdapterPageProducerPage4 = class(TWebPageModule)
    AdapterPageProducer: TAdapterPageProducer;
    AdapterForm1: TAdapterForm;
    AdapterGrid1: TAdapterGrid;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

  function AdapterPageProducerPage4: TAdapterPageProducerPage4;

implementation

{$R *.dfm}  {*.html}

uses WebReq, WebCntxt, WebFact, Variants, Unit3;

function AdapterPageProducerPage4: TAdapterPageProducerPage4;
begin
  Result := TAdapterPageProducerPage4(WebContext.FindModuleClass(TAdapterPageProducerPage4));
end;

initialization
  if WebRequestHandler <> nil then
    WebRequestHandler.AddWebModuleFactory(TWebPageModuleFactory.Create(TAdapterPageProducerPage4, TWebPageInfo.Create([wpPublished {, wpLoginRequired}], '.html'), crOnDemand, caCache));

end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?