Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto-Enter when textbox full?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00225123
Message ID:
00225195
Views:
14
Michael,
As Ken said, the trick is 'SET CONFIRM OFF'. If you want the user to press TAB or ENTER for other data entry controls, then you change the SET CONFIRM value in the WHEN method of the barcode field and change it back in the LostFocus().

HTH
Barbara

>I have a text box with FORMAT="K" and INPUTMASK="99999999". Since data entry will be through a barcode scanner, I'd like focus to shift to the next field when all 8 numerals are entered.
>
>I suspect I can check LEN(this.value) in the KEYPRESS event, but I'm probably missing a more efficient solution (and I don't know if that will get in the way of the scanner sending the whole string as fast as it does - I don't want to drop characters)!
>
>Any solution?
>
>TIA
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform