msgview.pas

来自「OICQ黑客工具。可以查看对方IP地址」· PAS 代码 · 共 37 行

PAS
37 行
字号
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 + =
减小字号Ctrl + -
显示快捷键?