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

    r104 r123  
    3333    procedure ARemoveExecute(Sender: TObject);
    3434    procedure ASelectAllExecute(Sender: TObject);
     35    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    3536    procedure FormCreate(Sender: TObject);
    3637    procedure FormShow(Sender: TObject);
     
    6970procedure TFormCategories.FormShow(Sender: TObject);
    7071begin
     72  Core.PersistentForm1.Load(Self);
    7173  UpdateList;
    7274  Core.ScaleDPI1.ScaleControl(ToolBar1, Core.ScaleDPI1.DesignDPI);
     
    126128end;
    127129
     130procedure TFormCategories.FormClose(Sender: TObject;
     131  var CloseAction: TCloseAction);
     132begin
     133  Core.PersistentForm1.Save(Self);
     134end;
     135
    128136procedure TFormCategories.FormCreate(Sender: TObject);
    129137var
Note: See TracChangeset for help on using the changeset viewer.