CBC中对按回车键的检测与响应方法
void __fastcall TForm1::DBEdit1KeyPress(TObject *Sender, char &Key)
{
if(Key==13) --ASCII Code of Enter Key ,If press Enter Key
{
Form1->Button7->Click(); --Response of Button7
}
}
正文
void __fastcall TForm1::DBEdit1KeyPress(TObject *Sender, char &Key)
{
if(Key==13) --ASCII Code of Enter Key ,If press Enter Key
{
Form1->Button7->Click(); --Response of Button7
}
}
正文