Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I get back to a previous text box if error occurr
Message
De
05/01/2000 14:43:34
 
 
À
05/01/2000 14:31:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00313407
Message ID:
00313423
Vues:
33
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
Fil
Voir

Click here to load this message in the networking platform