related.pas.svn-base

来自「TFormDesigner allows you move and resize」· SVN-BASE 代码 · 共 42 行

SVN-BASE
42
字号
(*  GREATIS FORM DESIGNER DEMO                *)
(*  Copyright (C) 2001-2003 Greatis Software  *)
(*  http://www.greatis.com/formdes.htm        *)
(*  b-team@greatis.com                        *)

unit Related;

interface

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

type
  TfrmRelated = class(TForm)
    pnlObjectInspector: TPanel;
    lblObjectInspector: TLabel;
    lblObjectInspectorInfo: TLabel;
    lblObjectInspectorWeb: TLabel;
    btnOK: TButton;
    procedure lblObjectInspectorWebClick(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmRelated: TfrmRelated;

implementation

{$R *.DFM}

procedure TfrmRelated.lblObjectInspectorWebClick(Sender: TObject);
begin
  with Sender as TLabel do
    ShellExecute(Application.Handle,nil,PChar(Hint),nil,nil,SW_SHOWDEFAULT);
end;

end.

⌨️ 快捷键说明

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