Ignore:
Timestamp:
Nov 26, 2016, 11:33:19 AM (8 years ago)
Author:
chronos
Message:
  • Added: Remember width of list view columns after closing the application.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormImportSources.pas

    r104 r123  
    4444    procedure AProcessExecute(Sender: TObject);
    4545    procedure ARemoveExecute(Sender: TObject);
     46    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    4647    procedure FormCreate(Sender: TObject);
    4748    procedure FormShow(Sender: TObject);
     
    171172procedure TFormImportSources.FormShow(Sender: TObject);
    172173begin
     174  Core.PersistentForm1.Load(Self);
    173175  UpdateList;
    174176  Core.ScaleDPI1.ScaleControl(ToolBar1, Core.ScaleDPI1.DesignDPI);
     
    337339end;
    338340
     341procedure TFormImportSources.FormClose(Sender: TObject;
     342  var CloseAction: TCloseAction);
     343begin
     344  Core.PersistentForm1.Save(Self);
     345end;
     346
    339347procedure TFormImportSources.FormCreate(Sender: TObject);
    340348var
Note: See TracChangeset for help on using the changeset viewer.