Changeset 149 for trunk/Forms/FormTargetOptions.pas
- Timestamp:
- Jun 5, 2024, 9:58:43 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormTargetOptions.pas
r145 r149 5 5 uses 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 7 Target ;7 Target, FormEx; 8 8 9 9 type … … 11 11 { TFormTargetOptions } 12 12 13 TFormTargetOptions = class(TForm )13 TFormTargetOptions = class(TFormEx) 14 14 ButtonOk: TButton; 15 15 ButtonCancel: TButton; … … 23 23 procedure ButtonCompilerClick(Sender: TObject); 24 24 procedure ButtonExecuteClick(Sender: TObject); 25 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);26 procedure FormCreate(Sender: TObject);27 procedure FormShow(Sender: TObject);28 25 public 29 26 procedure LoadControls(Target: TTarget); … … 35 32 36 33 {$R *.lfm} 37 38 uses39 Core;40 34 41 35 { TFormTargetOptions } … … 51 45 OpenDialog1.FileName := Edit2.Text; 52 46 if OpenDialog1.Execute then Edit2.Text := OpenDialog1.FileName; 53 end;54 55 procedure TFormTargetOptions.FormClose(Sender: TObject;56 var CloseAction: TCloseAction);57 begin58 Core.Core.PersistentForm1.Save(Self);59 end;60 61 procedure TFormTargetOptions.FormCreate(Sender: TObject);62 begin63 Core.Core.Translator.TranslateComponentRecursive(Self);64 Core.Core.ThemeManager.UseTheme(Self);65 end;66 67 procedure TFormTargetOptions.FormShow(Sender: TObject);68 begin69 Core.Core.PersistentForm1.Load(Self);70 47 end; 71 48
Note:
See TracChangeset
for help on using the changeset viewer.