dfabout.pas
来自「diskfree is tools for calculate free siz」· PAS 代码 · 共 42 行
PAS
42 行
unit DfAbout;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TAboutBox = class(TForm)
Button1: TButton;
Image1: TImage;
Version: TLabel;
Author: TLabel;
Freeware: TLabel;
Product: TLabel;
HtmlLink: TLabel;
procedure HtmlLinkClick(Sender: TObject);
end;
var
AboutBox: TAboutBox;
implementation
{$R *.DFM}
uses
ShellAPI;
procedure TAboutBox.HtmlLinkClick(Sender: TObject);
begin
ShellExecute(Application.MainForm.Handle, nil,
PChar(HtmlLink.Caption), nil, '.', SW_RESTORE);
{ Alternatively you could use:
ExecuteFile('http://'+HtmlLink.Caption, '.', 'c:\', SW_RESTORE);
Remember to get the FMXUtils unit from the Delphi Demo folder. }
end;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?