Suppose I have a Userfrom GUI , there are 3 Botton and one textbox on it.
And I want to Scan a barcode and show it on the textbox.
Unforturntly , my barcode scanner will add a Enter keyboard key while it finish
the barcode scan everytime.
Once I Scan any barcode and write down on textbox , and there is a Enter key , be triger after
that. and my focus of Userform will jump to next Botton , never stay at the same textbox.
So , How can I stay the focus on my Textbox only , no matter which times I scan a barcode
1. I try use a setfocus attribute , but no use to this problem.
2. I try to adjust tabindex , but fail to this problem , too.
3. even though I use tbastop = false , but I found the focus is disappear , so I fial again.