Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing a form
Message
From
06/03/2003 14:02:47
 
 
To
06/03/2003 13:35:00
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00762329
Message ID:
00762358
Views:
10
To add to Hilmar's suggestion, in the queryunload() method you can inspect the form's releaseType property to determine if the close box was pressed, something like:
* queryUnload()
if thisform.releaseType = 1
    return .f.
endif
>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
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform