?? splash.~pas
字號:
unit Splash;
interface
uses
Windows, SysUtils, Classes, Forms, jpeg, ExtCtrls, Controls, StdCtrls, kxiancommon;
type
TSplashForm = class(TForm)
imgSplash: TImage;
tmSplash: TTimer;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
procedure tmSplashTimer(Sender: TObject);
procedure imgSplashMouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure FormCreate(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private declarations }
FTimeOut: Boolean;
public
{ Public declarations }
property TimeOut: Boolean read FTimeOut;
end;
var
SplashForm: TSplashForm;
implementation
{$R *.DFM}
procedure TSplashForm.tmSplashTimer(Sender: TObject);
begin
FTimeOut := True;
CLOSE
end;
procedure TSplashForm.imgSplashMouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
FTimeOut := True;
CLOSE
end;
procedure TSplashForm.FormCreate(Sender: TObject);
var str:string;
//vtProduct)
begin
FTimeOut := False;
str := Application.exename;
label3.Caption := 'OnlineTemp Ver'+ GetmyVersion(str,vtFile)
+', Built '+ getmyversion(str,vtBuild) ;
end;
procedure TSplashForm.FormShow(Sender: TObject);
begin
Left := (Screen.Width - Width) div 2;
Top := (Screen.Height - Height) div 2;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -