Changeset 164 for trunk/Forms/FormMain.pas
- Timestamp:
- Jun 30, 2023, 10:51:35 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.pas
r162 r164 75 75 FormContacts: TFormContacts; 76 76 procedure UpdateInterface; 77 procedure SettingsChanged; 77 78 end; 78 79 … … 137 138 try 138 139 SetToolbarHints; 139 Core.Core.Initialize;140 Translator.TranslateComponentRecursive(Self);141 ThemeManager.UseTheme(Self);142 PersistentForm.Load(Self);143 140 ScaleDPI.ScaleControl(CoolBar1, Core.Core.ScaleDPI1.DesignDPI); 144 141 CoolBar1.AutosizeBands; … … 245 242 end; 246 243 244 procedure TFormMain.SettingsChanged; 245 begin 246 ThemeManager.UseTheme(Self); 247 Translator.TranslateComponentRecursive(Self); 248 FormContacts.ThemeManager.UseTheme(FormContacts); 249 FormContacts.Translator.TranslateComponentRecursive(FormContacts); 250 end; 251 247 252 end. 248 253
Note:
See TracChangeset
for help on using the changeset viewer.