Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving focus between editboxes
Message
From
16/02/2009 13:49:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Moving focus between editboxes
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01382139
Message ID:
01382139
Views:
109
Hello,

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!
Next
Reply
Map
View

Click here to load this message in the networking platform