Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatically advance to next field
Message
From
06/09/2006 10:48:25
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
06/09/2006 06:10:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01151228
Message ID:
01151338
Views:
18
>I need to have 2 textboxes that act like the columns in a browse. For example if I had 3 textboxes, one fopr area code, one for prefix and one for suffix like a phone number, I want the user to type in 201 and after they type the 1 in 201 the cursor automatically goers to the next field (the prefix without hitting enter.
>
>Is there some autoadvance or autoreturn property?

If your textbox is bound to a c(3) or n(3,0) field, and set("confirm")="OFF", this will happen automagically, as it always did. If your control is unbound (i.e. no controlsource) or it is bound to longer fields, you need to set the max length of the control to 3 (and whatever lengths you need in the other two).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform