forked from crypto2011/IDR
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFindDlg.cpp
More file actions
30 lines (25 loc) · 1.07 KB
/
FindDlg.cpp
File metadata and controls
30 lines (25 loc) · 1.07 KB
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
//---------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "FindDlg.h"
#include "Misc.h"
//---------------------------------------------------------------------
#pragma resource "*.dfm"
TFindDlg_11011981 *FindDlg_11011981;
//---------------------------------------------------------------------
__fastcall TFindDlg_11011981::TFindDlg_11011981(TComponent *AOwner)
: TForm(AOwner) {}
//---------------------------------------------------------------------
void __fastcall TFindDlg_11011981::FormShow(TObject *Sender) {
if (cbText->Items->Count) cbText->Text = cbText->Items->Strings[0];
ActiveControl = cbText;
}
//---------------------------------------------------------------------------
void __fastcall TFindDlg_11011981::cbTextEnter(TObject *Sender) {
cbText->SelectAll();
}
//---------------------------------------------------------------------------
void __fastcall TFindDlg_11011981::FormCreate(TObject *Sender) {
ScaleForm(this);
}
//---------------------------------------------------------------------------