descendantform.pas

来自「Jedi Code Library JCL JVCL 组件包 JCL+JVCL超」· PAS 代码 · 共 33 行

PAS
33
字号
unit DescendantForm;

interface

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

type
  TDescendant = class(TAncestor)
    DescendantButton1: TButton;
    procedure DescendantButton1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Descendant: TDescendant;

implementation

{$R *.DFM}

procedure TDescendant.DescendantButton1Click(Sender: TObject);
begin
  //inherited;
  ShowMessage('DescendantButton clicked');
end;

end.

⌨️ 快捷键说明

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