Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a form with the cross
Message
De
23/12/2007 06:32:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01277194
Message ID:
01277205
Vues:
18
>Thx Borislav
>
>>>Hi
>>>
>>>What methods run when the form is closed using the cross?
>>
>>QueryUnload()

If for some reason you decide, in QueryUnload(), that the form should NOT be closed, you must use the NODEFAULT command. A common case is when there are pending changes, you ask the user if he wants to save changes (with the options Yes/No/Cancel), and the user presses "Cancel".
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
Répondre
Fil
Voir

Click here to load this message in the networking platform