General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only