Changeset 162 for trunk/Forms/FormFind.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormFind.pas
r149 r162 5 5 uses 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, 7 ExtCtrls, StdCtrls, ActnList, Menus, VCard, FormContacts ;7 ExtCtrls, StdCtrls, ActnList, Menus, VCard, FormContacts, FormEx; 8 8 9 9 type … … 11 11 { TFormFind } 12 12 13 TFormFind = class(TForm )13 TFormFind = class(TFormEx) 14 14 ButtonFind: TButton; 15 15 ComboBoxField: TComboBox; … … 20 20 procedure ComboBoxFieldChange(Sender: TObject); 21 21 procedure EditValueKeyPress(Sender: TObject; var Key: char); 22 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);23 22 procedure FormCreate(Sender: TObject); 24 23 procedure FormDestroy(Sender: TObject); … … 38 37 39 38 {$R *.lfm} 40 41 uses42 Core;43 39 44 40 resourcestring … … 93 89 procedure TFormFind.FormCreate(Sender: TObject); 94 90 begin 95 Core.Core.Translator.TranslateComponentRecursive(Self);96 Core.Core.ThemeManager1.UseTheme(Self);97 98 91 ContactFieldIndex := cfNone; 99 92 … … 125 118 end; 126 119 127 procedure TFormFind.FormClose(Sender: TObject;128 var CloseAction: TCloseAction);129 begin130 Core.Core.PersistentForm1.Save(Self);131 end;132 133 120 procedure TFormFind.FormDestroy(Sender: TObject); 134 121 begin … … 138 125 procedure TFormFind.FormShow(Sender: TObject); 139 126 begin 140 Core.Core.PersistentForm1.Load(Self);141 142 127 FormContacts.ManualDock(Self, nil, alClient); 143 128 FormContacts.Align := alClient;
Note:
See TracChangeset
for help on using the changeset viewer.