Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo validation problem
Message
De
11/02/2005 20:04:54
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Combo validation problem
Divers
Thread ID:
00986220
Message ID:
00986220
Vues:
48
Using VFP 6/7/8 (I haven't checked with 9 yet) I am having a problem with values returned from a combo.valid() event. If a textbox.valid() returns .F., focus stays with the textbox and the original value is automatically restored. With combo.valid(), if .F. is returned the value stays at the new (invalid) value, and I have to restore the original value with some code like this.value=this.origvalue before leaving the validation code.

I've tried returning 1 and 0 instead of .T. and .F., but this doesn't seem to make any difference. Combo.style=2 (dropdown list).

Has anyone idea what may be happening here, and how to solve the problem? Any help would be appreciated.

Alan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform