Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No stinkin Valid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00452154
Message ID:
00452177
Vues:
28
>The trees are so thick I can't see the forest. I want a clean close of a form without valid's firing if close button is clicked. Does anyone have a clean quick solution? I am making it way to complicated, I think. The valid events of the objects fire before any code in the button runs. Can I change that or is there a decent work around?
>
>Thanks, Chuck

Set the button's Cancel property to .T. - in all Valid events that are coded, only run the Valid code if LastKey=27 (Escape key). With the Cancel property set to .T., it will set LastKey to 27.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform