error.~pas

来自「測 USB 鼠 標 的 PVID 號」· ~PAS 代码 · 共 38 行

~PAS
38
字号
unit Error;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls, StdCtrls;

type
  TErrorfrm = class(TForm)
    Image1: TImage;
    Label1: TLabel;
    Button1: TButton;
    Label2: TLabel;
    Button2: TButton;
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Errorfrm: TErrorfrm;

implementation

{$R *.dfm}

procedure TErrorfrm.FormShow(Sender: TObject);
var r : TRect;
begin
  r := Rect(0,0,Errorfrm.Width,Errorfrm.Height);
  ClipCursor(@r);   
end;

end.

⌨️ 快捷键说明

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