Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form unload question
Message
De
23/06/2002 09:14:59
 
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00671464
Message ID:
00671467
Vues:
14
This message has been marked as the solution to the initial question of the thread.
Yes, you can trap this situation, but in QueryUnload event. If you want to cancel form unload, set Cancel parameter of this event to True (or something different from 0). In addition, you can use UnloadMode parameter to determine which cause form unloading - clicking of 'X', issuing Unload command from code, etc. Check MSDN article "QueryUnload Event" for further information.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform