|
-
October 19th, 2012, 02:56 AM
#6
Re: C++ builder 2007, scan in edit with barcode scanner
if(Key == '\n' ||Key == '\r')
MessageDlg("THANK YOU FOR USE SCANNER",mtInformation,TMsgDlgButtons()<<mbOK,0);
else
{
MessageDlg("TRY SCANNER",mtInformation,TMsgDlgButtons()<<mbOK,0);
Edit1->Clear();
Edit1->SetFocus() ;
}
this is my code and its onkeypress event of edit1
you dont need to answer if you dont wanna help
Last edited by Leite333; October 19th, 2012 at 03:01 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|