Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto-Enter when textbox full?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00225123
Message ID:
00225195
Vues:
15
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform