📄 u_about.pas
字号:
unit U_About;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, EnBmpGr;
type
TFm_About = class(TForm)
Btn_Ok: TButton;
Img_Icon: TImage;
Lb_Name: TLabel;
Lb_CopyRight: TLabel;
Lb_CorpName: TLabel;
Label1: TLabel;
procedure Btn_OkKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
private
{ Private declarations }
public
{ Public declarations }
end;
procedure Show_AboutMessage;
implementation
{$R *.DFM}
procedure Show_AboutMessage;
var
Fm_About: TFm_About;
begin
Fm_About := TFm_About.Create(Application);
Fm_About.ShowModal;
Fm_About.Free;
end;
procedure TFm_About.Btn_OkKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if Key = VK_ESCAPE then
Btn_Ok.Click;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -