forked from crypto2011/IDR
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathInputDlg.cpp
More file actions
29 lines (24 loc) · 1.04 KB
/
InputDlg.cpp
File metadata and controls
29 lines (24 loc) · 1.04 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
//---------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "InputDlg.h"
#include "Misc.h"
//---------------------------------------------------------------------
#pragma resource "*.dfm"
TFInputDlg_11011981 *FInputDlg_11011981;
//---------------------------------------------------------------------
__fastcall TFInputDlg_11011981::TFInputDlg_11011981(TComponent *AOwner)
: TForm(AOwner) {}
//---------------------------------------------------------------------
void __fastcall TFInputDlg_11011981::FormShow(TObject *Sender) {
if (edtName->CanFocus()) ActiveControl = edtName;
}
//---------------------------------------------------------------------------
void __fastcall TFInputDlg_11011981::edtNameEnter(TObject *Sender) {
edtName->SelectAll();
}
//---------------------------------------------------------------------------
void __fastcall TFInputDlg_11011981::FormCreate(TObject *Sender) {
ScaleForm(this);
}
//---------------------------------------------------------------------------