📄 unit4.pas
字号:
unit Unit4;
interface
uses
Forms, StdCtrls, Graphics, Controls, ExtCtrls, Classes;
type
TFormAbout = class(TForm)
Panel1: TPanel;
Image1: TImage;
LabelProductName: TLabel;
LabelVersion: TLabel;
LabelCopyright: TLabel;
LabelURL: TLabel;
Button1: TButton;
procedure FormShow(Sender: TObject);
procedure LabelURLClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
FormAbout: TFormAbout;
implementation
uses ShellAPI, Windows, Unit1;
{$R *.dfm}
procedure TFormAbout.FormShow(Sender: TObject);
begin
LabelVersion.Caption := Form1.Editor.About
end;
procedure TFormAbout.LabelURLClick(Sender: TObject);
begin
ShellExecute(0, 'open', PChar((Sender as TLabel).Caption), nil, nil, SW_SHOW)
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -