Changeset 162 for trunk/Forms/FormCompareSideBySide.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormCompareSideBySide.pas
r159 r162 7 7 VCard, Diff, LCLType, LCLIntf, ComCtrls, Buttons, Menus, ActnList, SynEdit, 8 8 SynEditMiscClasses, SynHighlighterPosition, SynEditHighlighter, Common, 9 SynEditEx ;9 SynEditEx, FormEx; 10 10 11 11 type … … 13 13 { TFormCompareSideBySide } 14 14 15 TFormCompareSideBySide = class(TForm )15 TFormCompareSideBySide = class(TFormEx) 16 16 ASwitchSides: TAction; 17 17 AReloadFiles: TAction; … … 41 41 procedure ASwitchSidesExecute(Sender: TObject); 42 42 procedure FormActivate(Sender: TObject); 43 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);44 43 procedure FormCreate(Sender: TObject); 45 44 procedure FormDestroy(Sender: TObject); … … 80 79 81 80 uses 82 Core,VCardFile;81 VCardFile; 83 82 84 83 { TFormCompareSideBySide } 85 86 procedure TFormCompareSideBySide.FormClose(Sender: TObject; var CloseAction: TCloseAction87 );88 begin89 Core.Core.PersistentForm1.Save(Self);90 end;91 84 92 85 procedure TFormCompareSideBySide.ASwitchSidesExecute(Sender: TObject); … … 143 136 procedure TFormCompareSideBySide.FormCreate(Sender: TObject); 144 137 begin 145 Core.Core.Translator.TranslateComponentRecursive(Self);146 Core.Core.ThemeManager1.UseTheme(Self);147 138 Diff := TDiff.Create(Self); 148 139 … … 196 187 procedure TFormCompareSideBySide.FormShow(Sender: TObject); 197 188 begin 198 Core.Core.PersistentForm1.Load(Self);199 189 UpdateInterface; 200 190 ReloadContent;
Note:
See TracChangeset
for help on using the changeset viewer.