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

    r104 r123  
    3636    procedure ARemoveExecute(Sender: TObject);
    3737    procedure ASelectAllExecute(Sender: TObject);
     38    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    3839    procedure FormCreate(Sender: TObject);
    3940    procedure FormShow(Sender: TObject);
     
    110111procedure TFormAcronyms.FormShow(Sender: TObject);
    111112begin
     113  Core.PersistentForm1.Load(Self);
    112114  ListViewFilter1.UpdateFromListView(ListViewAcronyms);
    113115  UpdateAcronymsList;
     
    223225end;
    224226
     227procedure TFormAcronyms.FormClose(Sender: TObject; var CloseAction: TCloseAction
     228  );
     229begin
     230  Core.PersistentForm1.Save(Self);
     231end;
     232
    225233procedure TFormAcronyms.FormCreate(Sender: TObject);
    226234var
Note: See TracChangeset for help on using the changeset viewer.