Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid BeforeRowColChange
Message
De
27/11/1999 03:09:17
 
 
À
26/11/1999 14:22:49
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00295681
Message ID:
00295932
Vues:
29
Hi Rex.

>> What if the record does not pass validation? How do I prevent the record pointer from moving from the AfterRowColChange method? <<

This in AfterRowColChange:

IF .ValidateCurrentRow()
GOTO lnRec2GoTo
ENDIF

This line of code will keep the user from leaving the row that is being validated if the validation fails. All you need to do is RETURN .F. from your ValidateCurrentRow method.

Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform