Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refuse to close a form
Message
From
12/01/2000 02:49:31
Walter Meester
HoogkarspelNetherlands
 
 
To
12/01/2000 02:40:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00316741
Message ID:
00316743
Views:
14
Pascal,

>When the user closes a form using the forms closebox, can I prevent ("Sure to quit ?") that the form is released if I want so ?


Put something likethis in the Queryunload event:
IF !MESSAGEBOX("Are you sure you want to close this form ?",36)=6
    NODEFAULT
ENDIF
Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform