📄 cardhint.pas
字号:
unit CardHint;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TFrmCardHint = class(TForm)
GroupBox1: TGroupBox;
Button1: TButton;
Label1: TLabel;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
procedure SetWork(BackXx: string; Lx: smallint);
implementation
{$R *.dfm}
procedure SetWork(BackXx: string; Lx: smallint);
var
FrmCardHint: TFrmCardHint;
begin
Screen.Cursor := crHourGlass;
Application.CreateForm(TFrmCardHint, FrmCardHint);
FrmCardHint.Label1.Caption := Trim(BackXx);
if Lx = 1 then
FrmCardHint.Label1.Font.Color := clBlue
else
FrmCardHint.Label1.Font.Color := clRed;
FrmCardHint.Show;
Screen.Cursor := crDefault;
end;
procedure TFrmCardHint.Button1Click(Sender: TObject);
begin
Close;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -