Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancel destroy event?
Message
De
15/07/2008 16:08:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01331480
Message ID:
01331493
Vues:
14
Thanks, that's what I needed.

I know I can always count on my friends by UT!

>>I have IF statement in Destroy event of Form class in which if it is .F. I need to stop Destroy event.
>>
>>Scenario is actually like this: user clicks Close button (red "X" button of Form) and if IF condition is .F. then Form must not be closed.
>>
>>How to do that?
>
>Use QueryUnload method (add NODEFAULT there for your condition) and check for ReleaseType property.
>
>See Re: Form - close button Thread #1193159
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform