Results 1 to 3 of 3

Thread: Text Box cursor not active and sent Text Box Data

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2022
    Posts
    7

    Text Box cursor not active and sent Text Box Data

    Hi, I have created a form with a single text box and and send data button, once the barcode is scanned into the text box and the send but click, its send the data to a sql database.

    However when i come to scan the next bar code, I have to manually click into the text box to activate the cursor, then I can scan again.

    How can I make the cursor active in the text box after the button is pressed.

    Many THanks

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,413

    Re: Text Box cursor not active and sent Text Box Data

    Before the scan, use...

    Code:
    TextBox1.Select

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2022
    Posts
    7

    Cool Re: Text Box cursor not active and sent Text Box Data

    Quote Originally Posted by .paul. View Post
    Before the scan, use...

    Code:
    TextBox1.Select

    Perfect, works a treat, so simple.

    Many Thanks


Tags for this Thread

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