Changeset 92 for trunk/Forms/UFormTargetOptions.pas
- Timestamp:
- Jul 20, 2018, 9:48:47 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormTargetOptions.pas
r72 r92 25 25 procedure ButtonCompilerClick(Sender: TObject); 26 26 procedure ButtonExecuteClick(Sender: TObject); 27 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 28 procedure FormCreate(Sender: TObject); 29 procedure FormShow(Sender: TObject); 27 30 private 28 31 { private declarations } … … 35 38 FormTargetOptions: TFormTargetOptions; 36 39 40 37 41 implementation 38 42 39 43 {$R *.lfm} 44 45 uses 46 UCore; 40 47 41 48 { TFormTargetOptions } … … 51 58 OpenDialog1.FileName := Edit2.Text; 52 59 if OpenDialog1.Execute then Edit2.Text := OpenDialog1.FileName; 60 end; 61 62 procedure TFormTargetOptions.FormClose(Sender: TObject; 63 var CloseAction: TCloseAction); 64 begin 65 Core.PersistentForm1.Save(Self); 66 end; 67 68 procedure TFormTargetOptions.FormCreate(Sender: TObject); 69 begin 70 Core.CoolTranslator1.TranslateComponentRecursive(Self); 71 end; 72 73 procedure TFormTargetOptions.FormShow(Sender: TObject); 74 begin 75 Core.PersistentForm1.Load(Self); 53 76 end; 54 77
Note:
See TracChangeset
for help on using the changeset viewer.