Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi Mike,
>I have a text box on a form. After the user enters data the valid checks the data. If the valid determines it has invalid data, I want the focus to go back to the field with the invalid data and not move on to the next text box.
To move the focus to an object in Valid(), return a number. Example:
RETURN 0 &&Keeps focus on current object
RETURN 1 &&Goes to next
RETURN -1 &&Goes Previous
This should help you.
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