First set the Form-> KeyPreview to true, and write the following form event:
void __fastcall TProductForm::FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift)
{
if(Key==VK_PRIOR)
{
Key=0;
prevActionExecute(this);
}
else if(Key==VK_NEXT)
{
Key=0;
nextActionExecute(this);
}
}
Wednesday, July 16, 2008
Introduction
This blog is created to store some technical information on programming in Borland C++ Builder.
MemDB is using Borland C++ Builder to help customer tailor take software. And here are some document and experience in writing the solution.
MemDB is using Borland C++ Builder to help customer tailor take software. And here are some document and experience in writing the solution.
Subscribe to:
Comments (Atom)