Ignore:
Timestamp:
Jun 30, 2023, 10:01:24 PM (17 months ago)
Author:
chronos
Message:
  • Modified: Updated Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormSettings.pas

    r152 r162  
    55uses
    66  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
    7   Menus, Spin, ExtCtrls, Languages;
     7  Menus, Spin, ExtCtrls, Languages, FormEx;
    88
    99type
     
    1111  { TFormSettings }
    1212
    13   TFormSettings = class(TForm)
     13  TFormSettings = class(TFormEx)
    1414    ButtonBrowse: TButton;
    1515    ButtonOk: TButton;
     
    3939    procedure CheckBoxAutomaticDPIChange(Sender: TObject);
    4040    procedure CheckBoxStartOnLogonChange(Sender: TObject);
    41     procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    42     procedure FormCreate(Sender: TObject);
    4341    procedure FormShow(Sender: TObject);
    4442  private
     
    6260procedure TFormSettings.FormShow(Sender: TObject);
    6361begin
    64   Core.Core.PersistentForm1.Load(Self);
    65 
    6662  Core.Core.Translator.LanguageListToStrings(ComboBoxLanguage.Items);
    6763  ComboBoxLanguage.ItemIndex := ComboBoxLanguage.Items.IndexOfObject(Core.Core.Translator.Language);
     
    9894begin
    9995  UpdateInterface;
    100 end;
    101 
    102 procedure TFormSettings.FormClose(Sender: TObject; var CloseAction: TCloseAction
    103   );
    104 begin
    105   Core.Core.PersistentForm1.Save(Self);
    106 end;
    107 
    108 procedure TFormSettings.FormCreate(Sender: TObject);
    109 begin
    110   Core.Core.Translator.TranslateComponentRecursive(Self);
    111   Core.Core.ThemeManager1.UseTheme(Self);
    11296end;
    11397
Note: See TracChangeset for help on using the changeset viewer.