CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #6
    Join Date
    Mar 2011
    Location
    Greece
    Posts
    26

    Arrow 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
  •  





Click Here to Expand Forum to Full Width

Featured