Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing Window by pressing X
Message
De
24/10/2002 10:09:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00714834
Message ID:
00714846
Vues:
19
>Using CodeMine 7, I need to check a couple items before I allow a form to be closed.
>
>The Click() of the Close (cmdCloseCustom) works fine for this purpose, but I have a feeling its not the best place.
>
>I also need to check these items if the user closes the Form by pressing Windoows Close [X].
>
>In CodeMine 7 is there a better method I could use instead of the Click() of the Close command button to put this code so that it is checked regardless of how the form is closed?
>
>Thanks,
>Mel Cummings

In general (NOT in CodeMine, which I don't know) you can use the QueryUnload() Event for this purpose. This will be called when you try to close with the "x" or with Ctrl-F4. It is not, however, called when you RELEASE the form in Code.

Check whether CodeMine has any code in this method.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform