Changeset 38 for trunk/Forms/UFormOutput.pas
- Timestamp:
- Feb 19, 2012, 10:29:55 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormOutput.pas
r37 r38 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs ;8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; 9 9 10 10 type 11 TForm1 = class(TForm) 11 12 { TFormOutput } 13 14 TFormOutput = class(TForm) 15 Label2: TLabel; 16 MemoOutput: TMemo; 12 17 private 13 18 { private declarations } 14 19 public 15 { public declarations }20 procedure Reload; 16 21 end; 17 22 18 23 var 19 Form 1: TForm1;24 FormOutput: TFormOutput; 20 25 21 26 implementation … … 23 28 {$R *.lfm} 24 29 30 uses 31 UFormMain, UTargetInterpretter; 32 33 { TFormOutput } 34 35 procedure TFormOutput.Reload; 36 begin 37 if MainForm.CurrentTarget is TTargetInterpretter then 38 with TTargetInterpretter(MainForm.CurrentTarget) do 39 MemoOutput.Lines.Text := Output; 40 end; 41 25 42 end. 26 43
Note:
See TracChangeset
for help on using the changeset viewer.