Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selective validation routine
Message
De
01/08/2000 08:09:36
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
01/08/2000 08:04:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00399160
Message ID:
00399193
Vues:
21
>>Daryl,
>>
>>Some people put these types of checks in the code in front of the Save button (GotFocus) rather than the code leaving the text box.
>>
>>
>>>i have a form that has textboxes and commandgroups on it. one textbox is a reference box which needs a valid reference, that is working (i use the valid event). but my problem is if this box has the focus and i try to abort the entry by clicking on a cancel button, the valid of the textbox still runs which i want to stop.
>>>
>>>can any one help?
>>>
>>>thanks
>>>
>>>
>>>daryl
>
>
>You can also play a trick whereby the gotfocus event of one control validates the control that previously had the focus. This way it is easier to stop the cancel button from performing the validation.
>
>Mace

This is great, until the user decides to skip around in the entry form.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform