Ignore:
Timestamp:
Jun 5, 2024, 9:58:43 AM (5 months ago)
Author:
chronos
Message:
  • Modified: Use TFormEx class from Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormInput.pas

    r147 r149  
    44
    55uses
    6   Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;
     6  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
     7  FormEx;
    78
    89type
     
    1011  { TFormInput }
    1112
    12   TFormInput = class(TForm)
     13  TFormInput = class(TFormEx)
    1314    Label1: TLabel;
    1415    MemoInput: TMemo;
    15     procedure FormCreate(Sender: TObject);
    1616    procedure MemoInputKeyPress(Sender: TObject; var Key: char);
    1717  end;
     
    3232end;
    3333
    34 procedure TFormInput.FormCreate(Sender: TObject);
    35 begin
    36   Core.Core.Translator.TranslateComponentRecursive(Self);
    37   Core.Core.ThemeManager.UseTheme(Self);
    38 end;
    39 
    4034end.
    4135
Note: See TracChangeset for help on using the changeset viewer.