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

    r149 r162  
    55uses
    66  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls,
    7   ExtCtrls, StdCtrls, ActnList, Menus, VCard, FormContacts;
     7  ExtCtrls, StdCtrls, ActnList, Menus, VCard, FormContacts, FormEx;
    88
    99type
     
    1111  { TFormFind }
    1212
    13   TFormFind = class(TForm)
     13  TFormFind = class(TFormEx)
    1414    ButtonFind: TButton;
    1515    ComboBoxField: TComboBox;
     
    2020    procedure ComboBoxFieldChange(Sender: TObject);
    2121    procedure EditValueKeyPress(Sender: TObject; var Key: char);
    22     procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    2322    procedure FormCreate(Sender: TObject);
    2423    procedure FormDestroy(Sender: TObject);
     
    3837
    3938{$R *.lfm}
    40 
    41 uses
    42   Core;
    4339
    4440resourcestring
     
    9389procedure TFormFind.FormCreate(Sender: TObject);
    9490begin
    95   Core.Core.Translator.TranslateComponentRecursive(Self);
    96   Core.Core.ThemeManager1.UseTheme(Self);
    97 
    9891  ContactFieldIndex := cfNone;
    9992
     
    125118end;
    126119
    127 procedure TFormFind.FormClose(Sender: TObject;
    128   var CloseAction: TCloseAction);
    129 begin
    130   Core.Core.PersistentForm1.Save(Self);
    131 end;
    132 
    133120procedure TFormFind.FormDestroy(Sender: TObject);
    134121begin
     
    138125procedure TFormFind.FormShow(Sender: TObject);
    139126begin
    140   Core.Core.PersistentForm1.Load(Self);
    141 
    142127  FormContacts.ManualDock(Self, nil, alClient);
    143128  FormContacts.Align := alClient;
Note: See TracChangeset for help on using the changeset viewer.