Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Skipping valid when QueryUnload fires.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Skipping valid when QueryUnload fires.
Divers
Thread ID:
00557379
Message ID:
00557379
Vues:
53
I have some code in a valid event of a text box. The code is wrapped with:
if lastkey() <> 27
** Run code
endif
If the focus is on that textbox and the user presses ESC or clicks the Cancel button (with cancel set to .T.) the valid code is skipped. Which is want I want.

The problem is when the user clicks the "X" box on the form. The valid fires before the code in QueryUnload. I would like to bypass the valid and handle it manually from the QueryUnload. Can I do that?

TIA
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform