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/FormNameDetails.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  { TFormNameDetails }
    1111
    12   TFormNameDetails = class(TForm)
     12  TFormNameDetails = class(TFormEx)
    1313    ButtonOk: TButton;
    1414    ButtonCancel: TButton;
     
    2323    Label27: TLabel;
    2424    Label5: TLabel;
    25     procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    26     procedure FormCreate(Sender: TObject);
    27     procedure FormShow(Sender: TObject);
    2825  end;
    2926
     
    3330{$R *.lfm}
    3431
    35 uses
    36   Core;
    37 
    38 { TFormNameDetails }
    39 
    40 procedure TFormNameDetails.FormClose(Sender: TObject;
    41   var CloseAction: TCloseAction);
    42 begin
    43   Core.Core.PersistentForm1.Save(Self);
    44 end;
    45 
    46 procedure TFormNameDetails.FormCreate(Sender: TObject);
    47 begin
    48   Core.Core.Translator.TranslateComponentRecursive(Self);
    49   Core.Core.ThemeManager1.UseTheme(Self);
    50 end;
    51 
    52 procedure TFormNameDetails.FormShow(Sender: TObject);
    53 begin
    54   Core.Core.PersistentForm1.Load(Self);
    55 end;
    56 
    5732end.
    5833
Note: See TracChangeset for help on using the changeset viewer.