Ignore:
Timestamp:
Sep 21, 2018, 2:09:10 PM (6 years ago)
Author:
chronos
Message:
  • Added: Support for color themes.
  • Added: Remember dimensions for more forms.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormHelp.pas

    r136 r243  
    1414  TFormHelp = class(TForm)
    1515    Memo1: TMemo;
     16    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    1617    procedure FormCreate(Sender: TObject);
     18    procedure FormShow(Sender: TObject);
    1719  private
    1820    { private declarations }
     
    6264end;
    6365
     66procedure TFormHelp.FormClose(Sender: TObject; var CloseAction: TCloseAction);
     67begin
     68  Core.PersistentForm.Save(Self);
     69end;
     70
     71procedure TFormHelp.FormShow(Sender: TObject);
     72begin
     73  Core.PersistentForm.Load(Self);
     74  Core.ThemeManager1.UseTheme(Self);
     75end;
     76
    6477end.
    6578
Note: See TracChangeset for help on using the changeset viewer.