📄 msgview.pas
字号:
unit MsgView;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons;
type
TMsgViewDlg = class(TForm)
ViewMemo: TMemo;
BitBtn1: TBitBtn;
private
{ Private declarations }
public
{ Public declarations }
class procedure Execute(msg:String);
end;
implementation
{$R *.DFM}
{ TMsgViewDlg }
class procedure TMsgViewDlg.Execute(msg: String);
begin
with (TMsgViewDlg.Create(Application))do
begin
ViewMemo.Lines.Add(msg);
ShowModal;
Free;
end;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -