Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I'm not sure what alternative ways you provide for your users to close the form, but I suspect that the ReleaseType property may be what you're looking for.
It is set to 0 if you release the variable to which the form is scoped, 1 if closed from a close box, 2 if your quit VFP.
Hope this helps ...
>If I make a form "closeable" how do I know if that's how the user has closed a form.
>
>Best way I can see is to create a property called lActivelyClosed and my close buttons set this to .T. and then my destroy event runs some code if it's .F.
>
>Or have I missed something, it was late at night when I was researching this...
>
>Thanks
>
>Sarah
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement