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/UFormImportFormats.pas

    r104 r123  
    3030    procedure AModifyExecute(Sender: TObject);
    3131    procedure ARemoveExecute(Sender: TObject);
     32    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    3233    procedure FormCreate(Sender: TObject);
    3334    procedure FormShow(Sender: TObject);
     
    103104procedure TFormImportFormats.FormShow(Sender: TObject);
    104105begin
     106  Core.PersistentForm1.Load(Self);
    105107  UpdateList;
    106108  Core.ScaleDPI1.ScaleControl(ToolBar1, Core.ScaleDPI1.DesignDPI);
     
    177179end;
    178180
     181procedure TFormImportFormats.FormClose(Sender: TObject;
     182  var CloseAction: TCloseAction);
     183begin
     184  Core.PersistentForm1.Save(Self);
     185end;
     186
    179187procedure TFormImportFormats.FormCreate(Sender: TObject);
    180188var
Note: See TracChangeset for help on using the changeset viewer.