Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancel button question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Cancel button question
Divers
Thread ID:
00166025
Message ID:
00166025
Vues:
92
I have a text box on a form. The text box has the focus and I have some validation code in the LostFocus of the test box.

I also have a Cancel command button on the same form. When I press the Cancel button I want to RELEASE thisform. But after it does the RELEASE thisform, it runs the LostFocus on the text box which I don't want to happen. I want to just exit the form and forget the LostFocus at that point.

But I need the LostFocus to be in the text box in case I don't press the Cancel button and fill out the text box with information. Lost Focus checks the text box for valid information.

This must be simple, but I have been spinning my wheels on this one.

Thanks for your help.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform