Changeset 162 for trunk/Forms/FormSettings.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormSettings.pas
r152 r162 5 5 uses 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 7 Menus, Spin, ExtCtrls, Languages ;7 Menus, Spin, ExtCtrls, Languages, FormEx; 8 8 9 9 type … … 11 11 { TFormSettings } 12 12 13 TFormSettings = class(TForm )13 TFormSettings = class(TFormEx) 14 14 ButtonBrowse: TButton; 15 15 ButtonOk: TButton; … … 39 39 procedure CheckBoxAutomaticDPIChange(Sender: TObject); 40 40 procedure CheckBoxStartOnLogonChange(Sender: TObject); 41 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);42 procedure FormCreate(Sender: TObject);43 41 procedure FormShow(Sender: TObject); 44 42 private … … 62 60 procedure TFormSettings.FormShow(Sender: TObject); 63 61 begin 64 Core.Core.PersistentForm1.Load(Self);65 66 62 Core.Core.Translator.LanguageListToStrings(ComboBoxLanguage.Items); 67 63 ComboBoxLanguage.ItemIndex := ComboBoxLanguage.Items.IndexOfObject(Core.Core.Translator.Language); … … 98 94 begin 99 95 UpdateInterface; 100 end;101 102 procedure TFormSettings.FormClose(Sender: TObject; var CloseAction: TCloseAction103 );104 begin105 Core.Core.PersistentForm1.Save(Self);106 end;107 108 procedure TFormSettings.FormCreate(Sender: TObject);109 begin110 Core.Core.Translator.TranslateComponentRecursive(Self);111 Core.Core.ThemeManager1.UseTheme(Self);112 96 end; 113 97
Note:
See TracChangeset
for help on using the changeset viewer.