General information
Category:
Forms & Form designer
>This is handled in Visual MaxFrame, a VFP application framework, by including a:
>
>oApp.SetLastUserActivity()
>
>in their bases classes.GotFocus() method. So the global application object, oApp, can keep track of how long the application has been inactive. Then, after the specified period of inactivity (5 minutes in your case), oApp would shut down all open forms and shut down the app. I think other frameworks do something similar
>
Chris,
The small application I wrote is not worth of using a framework.
I tried to use ON KEY LABEL to detect activity, but it traps the mouse action.
In order to perform it, I used KEYBOARD(LEFTMOUSE) command but it did not work correctly.
Ed
Previous
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