Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing a form
Message
From
06/03/2003 15:11:51
 
 
To
06/03/2003 13:44:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00762329
Message ID:
00762408
Views:
15
>>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
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform