Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60- Close Button
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00415363
Message ID:
00415415
Views:
16
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform