Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to SetFocus?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Where to SetFocus?
Divers
Thread ID:
00301727
Message ID:
00301727
Vues:
48
I am having trouble with where to place my SetFocus command.

I do the following commands to validate a user's textbox input:
IF (some condition...) && This works
WAIT 'INVALID TIME INTERVAL' WINDOW TIMEOUT 2 && This works
RETURN && This works
ENDIF

After the error message is displayed to the user I want to SetFocus back to the same textbox, but I can't find the right spot to place the SetFocus command. I have tried it in numerous places, but the focus always goes to the next textbox in the tab order anyway.

Any ideas? Thanks for the help.

Steve Kramer
Kramer & Kramer Design
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform