Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cancel destroy event?
Message
From
15/07/2008 15:44:27
 
 
To
15/07/2008 15:37:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01331480
Message ID:
01331483
Views:
7
You have to issue NODEFAULT in the QueryUnload event if you want to prevent a form from closing.

>I have IF statement in Destroy event of Form class in which if it is .F. I need to stop Destroy event.
>
>Scenario is actually like this: user clicks Close button (red "X" button of Form) and if IF condition is .F. then Form must not be closed.
>
>How to do that?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform