Changeset 174 for trunk/Core.pas


Ignore:
Timestamp:
Jul 19, 2024, 3:51:57 PM (4 months ago)
Author:
chronos
Message:
  • Added: Menu action View - Fullscreen for switching into full screen mode.
  • Fixed: Save main form dimensions if application Exit action is selected.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r168 r174  
    1515  TCore = class(TDataModule)
    1616    AAbout: TAction;
     17    AFullScreen: TAction;
    1718    AFileImport: TAction;
    1819    AFileExport: TAction;
     
    6263    procedure AFindDuplicateExecute(Sender: TObject);
    6364    procedure AFindExecute(Sender: TObject);
     65    procedure AFullScreenExecute(Sender: TObject);
    6466    procedure AGenerateExecute(Sender: TObject);
    6567    procedure AHomePageExecute(Sender: TObject);
     
    150152procedure TCore.AExitExecute(Sender: TObject);
    151153begin
     154  FormMain.Close;
    152155  Application.Terminate;
    153156end;
     
    302305    Free;
    303306  end;
     307end;
     308
     309procedure TCore.AFullScreenExecute(Sender: TObject);
     310begin
     311  FormMain.ToggleFullScreen;
    304312end;
    305313
Note: See TracChangeset for help on using the changeset viewer.