Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Some neat things:
RETURN 0 && keeps focus on the current textbox
RETURN n && setfocus to next nth textbox
RETURN -n && setfocus to previous nth textbox
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement