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();
}
}