Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird requirement
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01010129
Message ID:
01010137
Views:
24
You'll have to upgrade to VFP9 which supports binding to Windows Messages (events). There's example in VFP9 Solution Samples how to do that.

>
>I've been asked by some "chief users" to not allow VFP quit until their users fill some required data.
>That's no problem, I thought.
>
>But then , they asked me to avoid windows shutdown until the data is entered.
>
>I really don't know how to interrupt or cancel the shutdown process.
>I've been playing with ON SHUTDOWN event for a while, but I can not make it work as desired.
>
>What I want is (in this order if possible):
>1) Cancel shutdown and continue working as if nothing happened
>or
>2) Interrupt shutdown and open a form for the user to fill the data (keep asking for the data until entered)
>
>Thank you
>Fabian
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform