Ignore:
Timestamp:
Jun 30, 2023, 10:01:24 PM (17 months ago)
Author:
chronos
Message:
  • Modified: Updated Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormCompareSideBySide.pas

    r159 r162  
    77  VCard, Diff, LCLType, LCLIntf, ComCtrls, Buttons, Menus, ActnList, SynEdit,
    88  SynEditMiscClasses, SynHighlighterPosition, SynEditHighlighter, Common,
    9   SynEditEx;
     9  SynEditEx, FormEx;
    1010
    1111type
     
    1313  { TFormCompareSideBySide }
    1414
    15   TFormCompareSideBySide = class(TForm)
     15  TFormCompareSideBySide = class(TFormEx)
    1616    ASwitchSides: TAction;
    1717    AReloadFiles: TAction;
     
    4141    procedure ASwitchSidesExecute(Sender: TObject);
    4242    procedure FormActivate(Sender: TObject);
    43     procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    4443    procedure FormCreate(Sender: TObject);
    4544    procedure FormDestroy(Sender: TObject);
     
    8079
    8180uses
    82   Core, VCardFile;
     81  VCardFile;
    8382
    8483{ TFormCompareSideBySide }
    85 
    86 procedure TFormCompareSideBySide.FormClose(Sender: TObject; var CloseAction: TCloseAction
    87   );
    88 begin
    89   Core.Core.PersistentForm1.Save(Self);
    90 end;
    9184
    9285procedure TFormCompareSideBySide.ASwitchSidesExecute(Sender: TObject);
     
    143136procedure TFormCompareSideBySide.FormCreate(Sender: TObject);
    144137begin
    145   Core.Core.Translator.TranslateComponentRecursive(Self);
    146   Core.Core.ThemeManager1.UseTheme(Self);
    147138  Diff := TDiff.Create(Self);
    148139
     
    196187procedure TFormCompareSideBySide.FormShow(Sender: TObject);
    197188begin
    198   Core.Core.PersistentForm1.Load(Self);
    199189  UpdateInterface;
    200190  ReloadContent;
Note: See TracChangeset for help on using the changeset viewer.