Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP60- Close Button
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00415363
Message ID:
00415415
Vues:
15
>>If you mean the close button of the form then use the queryunload event like Cetin said.
>>If you return .f. there the unload will stop.
>
>Ko, I'm not sure where this idea ("return .f.") got started (I've seen it posted several times before, in fact), but I've never observed this to work at all. The only certain way to stop the form is a
>
>NoDefault
>
>in the Queryunload. If someone can show me an instance or vfp version where return .f. works, I will humbly eat some metaphorical hat...

Bruce,

I think part of the misconception is based on have a Close command button that calls QueryUnload() to determine whether or not to issue ThisForm.Release. I know that's what I do, and I think I've seen it (the idea) posted here as well.
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