Ignore:
Timestamp:
Aug 3, 2012, 1:34:09 PM (12 years ago)
Author:
chronos
Message:
  • Added: Form for application runtime module management.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/StudioPackage/Forms/UFormMain.pas

    r8 r9  
    1818    ABuild: TAction;
    1919    ABuildClean: TAction;
     20    AViewModules: TAction;
     21    ADelete: TAction;
     22    AFindNext: TAction;
     23    AFindPrevious: TAction;
     24    AReplaceInFiles: TAction;
     25    AGoToLineNumber: TAction;
     26    ASearchInFiles: TAction;
     27    ASearch: TAction;
     28    AReplace: TAction;
     29    AUndo: TAction;
     30    ARedo: TAction;
    2031    AFileOpenRecent: TAction;
    2132    AFileNew: TAction;
     
    5061    MenuItem16: TMenuItem;
    5162    MenuItem17: TMenuItem;
     63    MenuItem18: TMenuItem;
    5264    MenuItem19: TMenuItem;
    5365    MenuItem2: TMenuItem;
     
    6880    MenuItem33: TMenuItem;
    6981    MenuItem34: TMenuItem;
     82    MenuItem35: TMenuItem;
     83    MenuItem36: TMenuItem;
     84    MenuItem37: TMenuItem;
     85    MenuItem38: TMenuItem;
     86    MenuItem39: TMenuItem;
    7087    MenuItem4: TMenuItem;
     88    MenuItem40: TMenuItem;
     89    MenuItem41: TMenuItem;
     90    MenuItem42: TMenuItem;
     91    MenuItem43: TMenuItem;
     92    MenuItem44: TMenuItem;
     93    MenuItem45: TMenuItem;
     94    MenuItem46: TMenuItem;
     95    MenuItem47: TMenuItem;
     96    MenuItem48: TMenuItem;
    7197    MenuItem5: TMenuItem;
    7298    MenuItem6: TMenuItem;
     
    93119    ToolButton4: TToolButton;
    94120    procedure AExitExecute(Sender: TObject);
     121    procedure AFileCloseExecute(Sender: TObject);
    95122    procedure AFileOpenExecute(Sender: TObject);
     123    procedure AViewModulesExecute(Sender: TObject);
    96124    procedure AViewProjectManagerExecute(Sender: TObject);
    97125    procedure AViewSettingsExecute(Sender: TObject);
     
    112140
    113141uses
    114   UFormProject, UFormSourceCode, UFormSettings;
     142  UFormProject, UFormSourceCode, UFormSettings, UFormModuleList;
    115143
    116144{ TFormMain }
     
    119147begin
    120148  Application.Terminate;
     149end;
     150
     151procedure TFormMain.AFileCloseExecute(Sender: TObject);
     152begin
     153//  DataModule1.OpenedFiles.Close(DataModule1.OpenedFiles.Selected);
    121154end;
    122155
     
    127160    DataModule1.OpenedFiles.OpenFile(OpenDialogFile.FileName);
    128161  end;
     162end;
     163
     164procedure TFormMain.AViewModulesExecute(Sender: TObject);
     165begin
     166  FormModuleList.ModuleManager := DataModule1.ModuleManager;
     167  FormModuleList.Show;
    129168end;
    130169
Note: See TracChangeset for help on using the changeset viewer.