Last change
on this file since 1717 was 488, checked in by Kevin Toppenberg, 16 years ago |
Added debug log form
|
File size:
743 bytes
|
Rev | Line | |
---|
[488] | 1 | unit DebugU;
|
---|
| 2 |
|
---|
| 3 | interface
|
---|
| 4 |
|
---|
| 5 | uses
|
---|
| 6 | Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
---|
| 7 | Dialogs, StdCtrls, ExtCtrls;
|
---|
| 8 |
|
---|
| 9 | type
|
---|
| 10 | TDebugForm = class(TForm)
|
---|
| 11 | Memo: TMemo;
|
---|
| 12 | Panel1: TPanel;
|
---|
| 13 | Panel2: TPanel;
|
---|
| 14 | Label1: TLabel;
|
---|
| 15 | btnHide: TButton;
|
---|
| 16 | btnClear: TButton;
|
---|
| 17 | procedure btnClearClick(Sender: TObject);
|
---|
| 18 | procedure btnHideClick(Sender: TObject);
|
---|
| 19 | private
|
---|
| 20 | { Private declarations }
|
---|
| 21 | public
|
---|
| 22 | { Public declarations }
|
---|
| 23 | end;
|
---|
| 24 |
|
---|
| 25 | var
|
---|
| 26 | DebugForm: TDebugForm;
|
---|
| 27 |
|
---|
| 28 | implementation
|
---|
| 29 |
|
---|
| 30 | {$R *.dfm}
|
---|
| 31 |
|
---|
| 32 | procedure TDebugForm.btnClearClick(Sender: TObject);
|
---|
| 33 | begin
|
---|
| 34 | Memo.Lines.Clear;
|
---|
| 35 | end;
|
---|
| 36 |
|
---|
| 37 | procedure TDebugForm.btnHideClick(Sender: TObject);
|
---|
| 38 | begin
|
---|
| 39 | DebugForm.Hide;
|
---|
| 40 | end;
|
---|
| 41 |
|
---|
| 42 | end.
|
---|
| 43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.