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

    r149 r162  
    55uses
    66  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls,
    7   ExtDlgs, ContactImage;
     7  ExtDlgs, ContactImage, FormEx;
    88
    99type
     
    1111  { TFormImage }
    1212
    13   TFormImage = class(TForm)
     13  TFormImage = class(TFormEx)
    1414    ButtonCancel: TButton;
    1515    ButtonOk: TButton;
     
    2626    procedure ButtonSaveClick(Sender: TObject);
    2727    procedure EditUrlChange(Sender: TObject);
    28     procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    2928    procedure FormCreate(Sender: TObject);
    3029    procedure FormDestroy(Sender: TObject);
     
    4746{ TFormImage }
    4847
    49 procedure TFormImage.FormClose(Sender: TObject; var CloseAction: TCloseAction);
    50 begin
    51   Core.Core.PersistentForm1.Save(Self);
    52 end;
    53 
    5448procedure TFormImage.FormCreate(Sender: TObject);
    5549begin
    56   Core.Core.Translator.TranslateComponentRecursive(Self);
    57   Core.Core.ThemeManager1.UseTheme(Self);
    58 
    5950  Image := TContactImage.Create(nil);
    6051  Image.OnChange := ImageChange;
     
    9889procedure TFormImage.FormShow(Sender: TObject);
    9990begin
    100   Core.Core.PersistentForm1.Load(Self);
    101 
    10291  ImageChange(nil);
    10392end;
Note: See TracChangeset for help on using the changeset viewer.