Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Box Value Bug
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00475397
Message ID:
00476656
Vues:
42
Hi Barbara.

>> Actually, I bet I know what you're going to say. <g> Have a property of the textboxclass called something like lGettingFocus. Change the code to:
if this.SelectOnEntry
   this.lGettingFocus = .T.
   Dodefault()
   this.lGettingFocus = .F.
endif
And bracket your Valid code so it only runs if this.lGettingFocus is .F. Am I close? <bg> <<

Actually, having re-read your response, I was going to say that I was mistaken < g >. The DODEFAULT() will not cause the valid of the textbox to fire. I must be getting old. I read DODEFAULT() as SetFocus()! Don't ask me how, but I did. I must be working too hard.

Sorry about that!

Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform