📄 ychatu20.pas
字号:
unit YchatU20;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm20 = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Edit4: TEdit;
Button1: TButton;
procedure Button1Click(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form20: TForm20;
Const
F6_HotKey = 10003;
F7_HotKey = 10004;
F8_HotKey = 10005;
F9_HotKey = 10006;
implementation
uses YchatU1;
{$R *.dfm}
procedure TForm20.Button1Click(Sender: TObject);
begin
close;
end;
procedure TForm20.FormClose(Sender: TObject; var Action: TCloseAction);
begin
If Form1.HotKeysEnabled1.Checked=True Then
Begin
RegisterHotKey(Handle,F6_HotKey,0,VK_F6);
RegisterHotKey(Handle,F7_HotKey,0,VK_F7);
RegisterHotKey(Handle,F8_HotKey,0,VK_F8);
RegisterHotKey(Handle,F9_HotKey,0,VK_F9);
End;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -