Changeset 162 for trunk/Forms/FormMain.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.pas
r158 r162 5 5 uses 6 6 Classes, SysUtils, LazFileUtils, Forms, Controls, Graphics, Dialogs, Menus, 7 ComCtrls, FormContacts ;7 ComCtrls, FormContacts, FormEx; 8 8 9 9 type … … 11 11 { TFormMain } 12 12 13 TFormMain = class(TForm )13 TFormMain = class(TFormEx) 14 14 CoolBar1: TCoolBar; 15 15 MainMenu1: TMainMenu; … … 95 95 SaveConfig; 96 96 FormContacts.Close; 97 Core.Core.PersistentForm1.Save(Self);98 97 Application.Terminate; 99 98 end; … … 139 138 SetToolbarHints; 140 139 Core.Core.Initialize; 141 Core.Core.Translator.TranslateComponentRecursive(Self);142 Core.Core.ThemeManager1.UseTheme(Self);143 Core.Core.PersistentForm1.Load(Self);144 Core.Core.ScaleDPI1.ScaleControl(CoolBar1, Core.Core.ScaleDPI1.DesignDPI);140 Translator.TranslateComponentRecursive(Self); 141 ThemeManager.UseTheme(Self); 142 PersistentForm.Load(Self); 143 ScaleDPI.ScaleControl(CoolBar1, Core.Core.ScaleDPI1.DesignDPI); 145 144 CoolBar1.AutosizeBands; 146 145
Note:
See TracChangeset
for help on using the changeset viewer.