inv_showinfo.pas

来自「一个MRPII系统源代码版本」· PAS 代码 · 共 35 行

PAS
35
字号
//
unit Inv_ShowInfo;

Interface

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

Type
  TFrm_Inv_ShowInfo = Class(TForm)
    Panel1: TPanel;
    Lbl_Show: TLabel;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Frm_Inv_ShowInfo: TFrm_Inv_ShowInfo;

implementation

{$R *.DFM}

procedure TFrm_Inv_ShowInfo.FormCreate(Sender: TObject);
begin
  TForm(Sender).Top:=Trunc((Screen.Height-TForm(Sender).Height)/2);
  TForm(Sender).Left:=Trunc((Screen.Width-TForm(Sender).Width)/2);
end;

end.

⌨️ 快捷键说明

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