I am trying to listen for a keystroke. I got an bar-code reader and I would like to scan an code. I got an keyboard emulator for this that types in the scanned code and then hits enter. I was wondering if I could listen for that and then do an action on that.
Solved! Go to Solution.
Unfortunately, I have not found a way to do this. I use the Screen's OnVisible property to SetFocus() to a textinput.
I had a similar question here if you'd like to follow it.
---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.
You can use a text input's OnChange property and it will trigger when enter is sent. I'm using this on Zebra devices and with barcode scanners on PC. Works well.
---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.
@EricLott Is it possible to make it listen without clicking the text input first?
Unfortunately, I have not found a way to do this. I use the Screen's OnVisible property to SetFocus() to a textinput.
I had a similar question here if you'd like to follow it.
---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.
User | Count |
---|---|
183 | |
105 | |
89 | |
44 | |
44 |
User | Count |
---|---|
226 | |
107 | |
106 | |
68 | |
67 |