Last change
on this file since 755 was 453, checked in by Kevin Toppenberg, 16 years ago |
Initial upload of TMG-CPRS 1.0.26.69
|
File size:
1.2 KB
|
Rev | Line | |
---|
[453] | 1 | unit fxServer;
|
---|
| 2 |
|
---|
| 3 | interface
|
---|
| 4 |
|
---|
| 5 | uses
|
---|
| 6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
|
---|
| 7 | StdCtrls, ComCtrls, ORNet, DKLang;
|
---|
| 8 |
|
---|
| 9 | type
|
---|
| 10 | TfrmDbgServer = class(TForm)
|
---|
| 11 | memSymbols: TRichEdit;
|
---|
| 12 | RadioButton1: TRadioButton;
|
---|
| 13 | RadioButton2: TRadioButton;
|
---|
| 14 | Label1: TLabel;
|
---|
| 15 | Edit1: TEdit;
|
---|
| 16 | DKLanguageController1: TDKLanguageController;
|
---|
| 17 | procedure FormCreate(Sender: TObject);
|
---|
| 18 | procedure FormKeyUp(Sender: TObject; var Key: Word;
|
---|
| 19 | Shift: TShiftState);
|
---|
| 20 | private
|
---|
| 21 | { Private declarations }
|
---|
| 22 | public
|
---|
| 23 | { Public declarations }
|
---|
| 24 | end;
|
---|
| 25 |
|
---|
| 26 | procedure DebugShowServer;
|
---|
| 27 |
|
---|
| 28 | implementation
|
---|
| 29 |
|
---|
| 30 | {$R *.DFM}
|
---|
| 31 |
|
---|
| 32 | uses rMisc, ORFn;
|
---|
| 33 |
|
---|
| 34 | procedure DebugShowServer;
|
---|
| 35 | var
|
---|
| 36 | frmDbgServer: TfrmDbgServer;
|
---|
| 37 | begin
|
---|
| 38 | frmDbgServer := TfrmDbgServer.Create(Application);
|
---|
| 39 | try
|
---|
| 40 | ResizeAnchoredFormToFont(frmDbgServer);
|
---|
| 41 | frmDbgServer.ShowModal;
|
---|
| 42 | finally
|
---|
| 43 | frmDbgServer.Release;
|
---|
| 44 | end;
|
---|
| 45 | end;
|
---|
| 46 |
|
---|
| 47 | procedure TfrmDbgServer.FormCreate(Sender: TObject);
|
---|
| 48 | begin
|
---|
| 49 | ListSymbolTable(memSymbols.Lines);
|
---|
| 50 | end;
|
---|
| 51 |
|
---|
| 52 | procedure TfrmDbgServer.FormKeyUp(Sender: TObject; var Key: Word;
|
---|
| 53 | Shift: TShiftState);
|
---|
| 54 | begin
|
---|
| 55 | if Key = VK_ESCAPE then
|
---|
| 56 | begin
|
---|
| 57 | Key := 0;
|
---|
| 58 | Close;
|
---|
| 59 | end;
|
---|
| 60 | end;
|
---|
| 61 |
|
---|
| 62 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.