Changeset 219 for trunk/Forms/FormImportFormat.pas
- Timestamp:
- Jan 17, 2025, 9:05:54 PM (4 days ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormImportFormat.pas
r218 r219 1 unit UFormImportFormat; 2 3 {$mode delphi} 1 unit FormImportFormat; 4 2 5 3 interface … … 7 5 uses 8 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls, Menus, ActnList, UAcronym;7 ComCtrls, Menus, ActnList, Acronym; 10 8 11 9 type … … 43 41 procedure AMoveUpExecute(Sender: TObject); 44 42 procedure ARemoveExecute(Sender: TObject); 45 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);46 43 procedure FormCreate(Sender: TObject); 47 44 procedure FormShow(Sender: TObject); 48 45 procedure ListViewItemRulesData(Sender: TObject; Item: TListItem); 49 private50 { private declarations }51 46 public 52 47 ImportFormat: TImportFormat; … … 64 59 65 60 uses 66 UCore, UFormImportPattern;61 Core, FormImportPattern; 67 62 68 63 {$R *.lfm} … … 80 75 var 81 76 NewImportPattern: TImportPattern; 77 FormImportPattern: TFormImportPattern; 82 78 begin 83 79 FormImportPattern := TFormImportPattern.Create(Self); … … 100 96 var 101 97 NewImportPattern: TImportPattern; 98 FormImportPattern: TFormImportPattern; 102 99 begin 103 100 FormImportPattern := TFormImportPattern.Create(Self); … … 152 149 end; 153 150 154 procedure TFormImportFormat.FormClose(Sender: TObject;155 var CloseAction: TCloseAction);156 begin157 Core.PersistentForm1.Save(Self);158 end;159 160 151 procedure TFormImportFormat.FormCreate(Sender: TObject); 161 152 begin 162 Core.Translator.TranslateComponentRecursive(Self);163 Core.ThemeManager.UseTheme(Self);164 153 YesNoString[False] := SNo; 165 154 YesNoString[True] := SYes; … … 168 157 procedure TFormImportFormat.FormShow(Sender: TObject); 169 158 begin 170 Core.PersistentForm1.Load(Self);171 159 ReloadList; 172 160 end;
Note:
See TracChangeset
for help on using the changeset viewer.