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/FormError.pas

    r149 r162  
    44
    55uses
    6   Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls;
     6  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, FormEx;
    77
    88type
     
    1010  { TFormError }
    1111
    12   TFormError = class(TForm)
     12  TFormError = class(TFormEx)
    1313    MemoErrors: TMemo;
    14     procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    15     procedure FormCreate(Sender: TObject);
    16     procedure FormShow(Sender: TObject);
    1714  end;
    1815
     
    2219{$R *.lfm}
    2320
    24 uses
    25   Core;
    26 
    27 { TFormError }
    28 
    29 procedure TFormError.FormCreate(Sender: TObject);
    30 begin
    31   Core.Core.Translator.TranslateComponentRecursive(Self);
    32   Core.Core.ThemeManager1.UseTheme(Self);
    33 end;
    34 
    35 procedure TFormError.FormShow(Sender: TObject);
    36 begin
    37   Core.Core.PersistentForm1.Load(Self);
    38 end;
    39 
    40 procedure TFormError.FormClose(Sender: TObject; var CloseAction: TCloseAction);
    41 begin
    42   Core.Core.PersistentForm1.Save(Self);
    43 end;
    44 
    4521end.
    4622
Note: See TracChangeset for help on using the changeset viewer.