Changeset 162 for trunk/Forms/FormProperty.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormProperty.pas
r155 r162 4 4 5 5 uses 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, VCard; 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, VCard, 7 FormEx; 7 8 8 9 type … … 10 11 { TFormProperty } 11 12 12 TFormProperty = class(TForm )13 TFormProperty = class(TFormEx) 13 14 ButtonCancel: TButton; 14 15 ButtonOk: TButton; … … 26 27 procedure EditAttributesChange(Sender: TObject); 27 28 procedure EditNameChange(Sender: TObject); 28 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);29 29 procedure FormCreate(Sender: TObject); 30 procedure FormShow(Sender: TObject);31 30 private 32 31 FContactProperty: TContactProperty; … … 43 42 44 43 {$R *.lfm} 45 46 uses47 Core;48 44 49 45 { TFormProperty } … … 89 85 end; 90 86 91 procedure TFormProperty.FormClose(Sender: TObject; var CloseAction: TCloseAction);92 begin93 Core.Core.PersistentForm1.Save(Self);94 end;95 96 87 procedure TFormProperty.FormCreate(Sender: TObject); 97 88 begin 98 Core.Core.Translator.TranslateComponentRecursive(Self);99 Core.Core.ThemeManager1.UseTheme(Self);100 101 89 FContactProperty := nil; 102 90 TContact.GetFields.LoadToStrings(ComboBoxField.Items); 103 end;104 105 procedure TFormProperty.FormShow(Sender: TObject);106 begin107 Core.Core.PersistentForm1.Load(Self);108 91 end; 109 92
Note:
See TracChangeset
for help on using the changeset viewer.