iwunit1.pas

来自「IntraWeb.Develop.Sample」· PAS 代码 · 共 32 行

PAS
32
字号
unit IWUnit1;
{PUBDIST}

interface

uses
  IWAppForm, IWApplication, IWTypes, Classes, Controls, IWControl,
  IWCompLabel;

type
  TformMain = class(TIWAppForm)
    IWLabel1: TIWLabel;
    procedure IWAppFormCreate(Sender: TObject);
  public
  end;

implementation
{$R *.dfm}

uses
  ServerController, IWInit, HTTPApp;

procedure TformMain.IWAppFormCreate(Sender: TObject);
begin
  iwLabel1.Caption:='URL='+RWebApplication.Request.URL+' '+
                    'PathInfo='+RWebApplication.Request.PathInfo+' '+
                    'From='+RWebApplication.Request.From+'  '+
                    'Host='+RWebApplication.Request.Host;
end;

end.

⌨️ 快捷键说明

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