Ignore:
Timestamp:
Feb 19, 2012, 10:29:55 AM (12 years ago)
Author:
chronos
Message:
  • Modified: Used manual docked forms for better code separation.
  • Modified: Used tabbed layout with PageControl and TabSheets for better usability.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormOutput.pas

    r37 r38  
    66
    77uses
    8   Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs;
     8  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
    99
    1010type
    11   TForm1 = class(TForm)
     11
     12  { TFormOutput }
     13
     14  TFormOutput = class(TForm)
     15    Label2: TLabel;
     16    MemoOutput: TMemo;
    1217  private
    1318    { private declarations }
    1419  public
    15     { public declarations }
     20    procedure Reload;
    1621  end;
    1722
    1823var
    19   Form1: TForm1;
     24  FormOutput: TFormOutput;
    2025
    2126implementation
     
    2328{$R *.lfm}
    2429
     30uses
     31  UFormMain, UTargetInterpretter;
     32
     33{ TFormOutput }
     34
     35procedure TFormOutput.Reload;
     36begin
     37  if MainForm.CurrentTarget is TTargetInterpretter then
     38  with TTargetInterpretter(MainForm.CurrentTarget) do
     39    MemoOutput.Lines.Text := Output;
     40end;
     41
    2542end.
    2643
Note: See TracChangeset for help on using the changeset viewer.