Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

login form(builder c++)

Status
Not open for further replies.

since1984

Technical User
Mar 25, 2010
7
GR

Help with login form(builder c++)
This is my code:
void __fastcall TForm1::Button1Click(TObject *Sender)
{

if(Edit1->Text=="telo2" )
{
Form1->Hide();
Form2->Show();
}
else
{
MessageBox(NULL,"You Entered Wrong Password!",MB_OK |MB_ICONSTOP);


How can i use enter button
i want the same also when user enters password and presses enter button rather than ok button(i want both to work alternate user can press enter or the button to continue)
Close();
}
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top