Changeset 102 for trunk/Forms/UFormMain.pas
- Timestamp:
- Sep 23, 2016, 12:29:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r100 r102 16 16 17 17 TFormMain = class(TForm) 18 AHide: TAction; 18 19 AExport: TAction; 19 20 AProcessImports: TAction; … … 57 58 MenuItem24: TMenuItem; 58 59 MenuItem25: TMenuItem; 60 MenuItem26: TMenuItem; 61 MenuItem27: TMenuItem; 62 MenuItem28: TMenuItem; 59 63 MenuItemToolbar: TMenuItem; 60 64 MenuItem4: TMenuItem; … … 93 97 procedure AFileSaveAsExecute(Sender: TObject); 94 98 procedure AFileSaveExecute(Sender: TObject); 99 procedure AHideExecute(Sender: TObject); 95 100 procedure AImportExecute(Sender: TObject); 96 101 procedure AProcessImportsExecute(Sender: TObject); … … 182 187 begin 183 188 if Core.InitializeFinished then Core.PersistentForm1.Save(Self); 189 UpdateInterface; 184 190 end; 185 191 … … 279 285 UpdateInterface; 280 286 end else AFileSaveAs.Execute; 287 end; 288 289 procedure TFormMain.AHideExecute(Sender: TObject); 290 begin 291 Hide; 281 292 end; 282 293 … … 598 609 AShowImportFormats.Enabled := Assigned(Core.AcronymDb); 599 610 ToolBar1.Visible := MenuItemToolbar.Checked; 611 AHide.Enabled := FormMain.Visible; 600 612 601 613 Title := Application.Title;
Note:
See TracChangeset
for help on using the changeset viewer.