/
SearchPanelUnit.pas
53 lines (41 loc) · 1.02 KB
/
SearchPanelUnit.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
unit SearchPanelUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, BoldComboBox;
type
TSearchForm = class(TForm)
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
Edit1: TEdit;
Label1: TLabel;
CheckBox1: TCheckBox;
Edit2: TEdit;
Label2: TLabel;
CheckBox2: TCheckBox;
CheckBox3: TCheckBox;
CheckBox4: TCheckBox;
BoldComboBox1: TBoldComboBox;
procedure BitBtn1Click(Sender: TObject);
procedure BitBtn2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
SearchForm: TSearchForm;
implementation
{$R *.dfm}
uses ReleaseStructUnit, BoldControlsHandlesUnit;
procedure TSearchForm.BitBtn2Click(Sender: TObject);
begin
Close;
end;
procedure TSearchForm.BitBtn1Click(Sender: TObject);
begin
ReleaseStructForm.AnnonceTextFindDialog.FindText:=Edit1.Text;
ReleaseStructForm.AnnonceTextFindDialog.OnFind(ReleaseStructForm.AnnonceTextFindDialog);
Close;
end;
end.