Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatic Shutdown
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00512992
Message ID:
00512993
Views:
13
>Is there a way to initiate an automatic shutdown after a user is idle for a certain amount of time?
>
>Thanks.
>
>Chaim
Put a timer on your base form class which will time out and close each form after a certain time.

Following, I have a second timer as part of the menu which checks to see if there are any forms open. After XXmin the menu initiates a shutdown routine which is part of the main.prg 'DoNotInUse in main.prg'. The not in use simple clears the read events and close out the program with a simple 'quit'.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform