⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 baseform.pas

📁 这是一个实用的软件
💻 PAS
字号:
//********************************//
//  模块:基础模块                 //
//  设计:杨凌      2005.06.20    //
//                                //
//********************************//
unit baseform;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  Tfbaseform = class(TForm)
    procedure FormKeyDown(Sender: TObject; var Key: Word;
      Shift: TShiftState);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fbaseform: Tfbaseform;

implementation



{$R *.dfm}

procedure Tfbaseform.FormKeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
  if (Key = VK_RETURN) and (ActiveControl <> Nil) then begin
     Key := 0;
     Perform(WM_NEXTDLGCTL, 0 , 0);
     Exit;
  end;
end;

end.

⌨️ 快捷键说明

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