Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid Event Fires by itself ?
Message
De
23/03/1998 12:27:42
 
 
À
23/03/1998 12:22:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00086475
Message ID:
00086476
Vues:
22
>Sorry if this is a repost, but my earlier post 'disappeared'.
>
>I use a grid to do data entry. When user enter invalid data, valid event of grid.textbox prompt error message. User choose to abort entry (tablerevert).
>
>How, if the user clicks on 'Add' again, the earlier valid event of the same grid.textbox will fire again immediately, prompting a error message. The user have not even started entering data.
>
>Any idea what's going on.
>Running on Win95b, VFP 5.0a SP3, P200Mhz, 32MB Ram, NW4.1.
>
>Thanks

Valid event is fired because you press a button i.e. move focus otside the grid. It's probably reasonable not to use Grid.Valid event. You can put all validation under 'Save' button if you have one.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform