-
Notifications
You must be signed in to change notification settings - Fork 224
/
InputDlg.cpp
31 lines (29 loc) · 1.07 KB
/
InputDlg.cpp
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
//---------------------------------------------------------------------
#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);
}
//---------------------------------------------------------------------------