Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00762329
Message ID:
00762439
Vues:
13
>>>I would like to know how to prevent my user from closing the project using the "Close (X)" at the top rightmost side of VFP screen. I am wondering if this can be disabled.
>>>
>>>Thanks a lot,
>>>
>>>Nerissa
>>
>>Intercept the QueryUnload() Event. NODEFAULT will avoid the default behaviour, in this case, closing the form.
>
>Not if it's the main VFP window. That only works for user defined forms.

Fred,

Is BINDEVENT() in VFP 8.0 an option here? I haven't played with it yet. The _SCREEN (but not _VFP) has a QueryUnload() event and you can bind events to it.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform