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

    r155 r162  
    44
    55uses
    6   Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, VCard;
     6  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, VCard,
     7  FormEx;
    78
    89type
     
    1011  { TFormProperty }
    1112
    12   TFormProperty = class(TForm)
     13  TFormProperty = class(TFormEx)
    1314    ButtonCancel: TButton;
    1415    ButtonOk: TButton;
     
    2627    procedure EditAttributesChange(Sender: TObject);
    2728    procedure EditNameChange(Sender: TObject);
    28     procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    2929    procedure FormCreate(Sender: TObject);
    30     procedure FormShow(Sender: TObject);
    3130  private
    3231    FContactProperty: TContactProperty;
     
    4342
    4443{$R *.lfm}
    45 
    46 uses
    47   Core;
    4844
    4945{ TFormProperty }
     
    8985end;
    9086
    91 procedure TFormProperty.FormClose(Sender: TObject; var CloseAction: TCloseAction);
    92 begin
    93   Core.Core.PersistentForm1.Save(Self);
    94 end;
    95 
    9687procedure TFormProperty.FormCreate(Sender: TObject);
    9788begin
    98   Core.Core.Translator.TranslateComponentRecursive(Self);
    99   Core.Core.ThemeManager1.UseTheme(Self);
    100 
    10189  FContactProperty := nil;
    10290  TContact.GetFields.LoadToStrings(ComboBoxField.Items);
    103 end;
    104 
    105 procedure TFormProperty.FormShow(Sender: TObject);
    106 begin
    107   Core.Core.PersistentForm1.Load(Self);
    10891end;
    10992
Note: See TracChangeset for help on using the changeset viewer.