Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping the X to close a form
Message
 
 
À
11/10/2001 16:33:28
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00567223
Message ID:
00567227
Vues:
14
>On forms, you have the Min, Max, and the X (or exit) buttons on the top right. Is there a way to trap and control what happens if a user clicks the X?

form_Queryunload event should run prior to form close. You have the option to cancel the unload.
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform