Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing the form.
Message
De
16/05/1997 15:29:10
 
 
À
16/05/1997 14:28:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00032608
Message ID:
00032635
Vues:
45
>The 'X' click calls the QueryUnload event on your form. In your method that closes the form return false if you do not want to close the form. Then put this code in the QueryUnload event.
>
>IF NOT { call close method here}
> NODEFAULT
>ENDIF
>

Is the default code in the queryunload the code that close the form? If so, this is the method I was looking for. Gerald- I want the user to be able to close the form with the 'X', just not automatically. Dave- I believe that in the form's destroy event, it is too late to check the getfieldstate(), because the form is destroyed after its members; the data has already been updated.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform