Ignore:
Timestamp:
Oct 27, 2016, 3:00:47 PM (8 years ago)
Author:
chronos
Message:
  • Added: Remember position and size of main form after close of application.
  • Modified: Updated Common package to latest version.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r72 r73  
    135135    procedure AViewInterpretterExecute(Sender: TObject);
    136136    procedure AViewLogExecute(Sender: TObject);
     137    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    137138    procedure FormCloseQuery(Sender: TObject; var CanClose: boolean);
    138139    procedure FormCreate(Sender: TObject);
     
    200201  UpdateTargetList;
    201202  DockInit;
     203  Core.PersistentForm1.Load(Self);
    202204end;
    203205
     
    439441end;
    440442
     443procedure TFormMain.FormClose(Sender: TObject; var CloseAction: TCloseAction);
     444begin
     445  Core.PersistentForm1.Save(Self);
     446end;
     447
    441448procedure TFormMain.FormCloseQuery(Sender: TObject; var CanClose: boolean);
    442449begin
Note: See TracChangeset for help on using the changeset viewer.