Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving focus between editboxes
Message
 
 
À
16/02/2009 13:49:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01382139
Message ID:
01382141
Vues:
60
Why are you using an editbox not a textbox? With a textbox you can program the scanner to send CHR(13) at the end of scanned barcode and it will move cursor to the next textbox w/o extra code.

>
>I'm attempting to use a barcode scanner to fill an editbox. Once filled I would like to shift the focus to another editbox for a second scan. I'm attempting to do this without the operator having to push any keys. The change of focus needs to be delayed for the edit1 to populate completely.
>
>I believe the code would be placed in the interactive change (edit1) and look something like this
>
> if thisform.edit1.value > "1000"
>
> thisform.edit2.focus? =.t.
>
> endif
>
>Thank you for your help!
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform