Changeset 162 for trunk/Forms/FormImage.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormImage.pas
r149 r162 5 5 uses 6 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, 7 ExtDlgs, ContactImage ;7 ExtDlgs, ContactImage, FormEx; 8 8 9 9 type … … 11 11 { TFormImage } 12 12 13 TFormImage = class(TForm )13 TFormImage = class(TFormEx) 14 14 ButtonCancel: TButton; 15 15 ButtonOk: TButton; … … 26 26 procedure ButtonSaveClick(Sender: TObject); 27 27 procedure EditUrlChange(Sender: TObject); 28 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);29 28 procedure FormCreate(Sender: TObject); 30 29 procedure FormDestroy(Sender: TObject); … … 47 46 { TFormImage } 48 47 49 procedure TFormImage.FormClose(Sender: TObject; var CloseAction: TCloseAction);50 begin51 Core.Core.PersistentForm1.Save(Self);52 end;53 54 48 procedure TFormImage.FormCreate(Sender: TObject); 55 49 begin 56 Core.Core.Translator.TranslateComponentRecursive(Self);57 Core.Core.ThemeManager1.UseTheme(Self);58 59 50 Image := TContactImage.Create(nil); 60 51 Image.OnChange := ImageChange; … … 98 89 procedure TFormImage.FormShow(Sender: TObject); 99 90 begin 100 Core.Core.PersistentForm1.Load(Self);101 102 91 ImageChange(nil); 103 92 end;
Note:
See TracChangeset
for help on using the changeset viewer.