Changeset 57 for trunk/IDE/UCore.pas


Ignore:
Timestamp:
Jul 16, 2012, 4:11:47 PM (12 years ago)
Author:
chronos
Message:
  • Modified: Testing interpretter.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE/UCore.pas

    r55 r57  
    2828    procedure LastOpenedFilesChange(Sender: TObject);
    2929  private
     30    procedure ProjectChange(Sender: TObject);
    3031  public
    3132    ReopenLastOpenedFile: Boolean;
     
    6869  Project := TProject.Create;
    6970  Project.FileName := SNewProject;
     71  Project.OnChange := ProjectChange;
    7072end;
    7173
     
    109111  LastOpenedFiles.LoadToMenuItem(FormMain.PopupMenu1.Items,
    110112    FormMain.OpenRecentClick);
     113end;
     114
     115procedure TCore.ProjectChange(Sender: TObject);
     116begin
     117  FormMain.UpdateInterface;
    111118end;
    112119
Note: See TracChangeset for help on using the changeset viewer.