Jump to content

How to key focus on a field when using barcode reader


Recommended Posts

I am working on a project where I would like the operator  to scan a barcode to input data into several fields.  If I enable the USB for HID Device I can get the barcode to scan into a field, but only when I first touch that field to open the on-screen keyboard (and oddly enough I have to press a key on the keyboard before the scanner will fill in the field).  I am wanting the operator to be able to initiate these inputs without touching the screen first. 

I have logic written using the COM Rx function, followed by Copy Buffer to Tag.  When online, I can see the scanned data in the buffer field, but no data is filling in the desired field.  I'm not sure if I need to somehow key focus onto the field I want.  Also, after the first scan I would like to be able to automatically focus on the next field where the buffer will be copied to.  

Any help would be greatly appreciated!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...