Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I detect user activity?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00293464
Message ID:
00293485
Views:
31
>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
Map
View

Click here to load this message in the networking platform