Changeset 145 for trunk/Forms/FormTargetOptions.pas
- Timestamp:
- Jun 5, 2023, 6:44:57 PM (18 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormTargetOptions.pas
r144 r145 1 unit UFormTargetOptions;1 unit FormTargetOptions; 2 2 3 3 interface … … 5 5 uses 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 7 UTarget;7 Target; 8 8 9 9 type … … 26 26 procedure FormCreate(Sender: TObject); 27 27 procedure FormShow(Sender: TObject); 28 private29 { private declarations }30 28 public 31 29 procedure LoadControls(Target: TTarget); 32 30 procedure SaveControls(Target: TTarget); 33 31 end; 34 35 var36 FormTargetOptions: TFormTargetOptions;37 32 38 33 … … 42 37 43 38 uses 44 UCore;39 Core; 45 40 46 41 { TFormTargetOptions } … … 61 56 var CloseAction: TCloseAction); 62 57 begin 63 Core. PersistentForm1.Save(Self);58 Core.Core.PersistentForm1.Save(Self); 64 59 end; 65 60 66 61 procedure TFormTargetOptions.FormCreate(Sender: TObject); 67 62 begin 68 Core. Translator.TranslateComponentRecursive(Self);69 Core. ThemeManager.UseTheme(Self);63 Core.Core.Translator.TranslateComponentRecursive(Self); 64 Core.Core.ThemeManager.UseTheme(Self); 70 65 end; 71 66 72 67 procedure TFormTargetOptions.FormShow(Sender: TObject); 73 68 begin 74 Core. PersistentForm1.Load(Self);69 Core.Core.PersistentForm1.Load(Self); 75 70 end; 76 71
Note:
See TracChangeset
for help on using the changeset viewer.