Changeset 174 for trunk/Packages/Common


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/Packages/Common/FormEx.pas

    r172 r174  
    1919    procedure DoDestroy; override;
    2020  public
     21    FullScreen: Boolean;
    2122    PersistentForm: TPersistentForm; static;
    2223    ThemeManager: TThemeManager; static;
     
    4546  inherited;
    4647  PersistentForm.Load(Self);
     48  FullScreen := PersistentForm.FormFullScreen;
    4749end;
    4850
     
    7678procedure TFormEx.DoClose(var CloseAction: TCloseAction);
    7779begin
     80  PersistentForm.FormFullScreen := FullScreen;
    7881  PersistentForm.Save(Self);
    7982  inherited;
Note: See TracChangeset for help on using the changeset viewer.