Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Idle time calculation
Message
From
27/05/2004 12:22:20
 
 
To
27/05/2004 10:19:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00907707
Message ID:
00907807
Views:
10
>>I'm looking for a way of calculating the time a PC has been left idle (ie no keyboard / mouse action) in a VFP 8.0 environment. I'm sure is probably easily acheived, but just wondered if someone could give me a quick fix.
>
>The way the VFP-based commercial framework I use does it is each type of object (subclassed) has a timer reset in its Interactive and Programmatic Change methods. Therefore a VFP timer is always running and always being reset when you press a key. When the timer reaches a set limit, the app itself can shutdown, or just log the user out or whatever you want.
>
>HTH

By that, do you mean that you coded in a reset timer function into each control, or is it done automatically by FoxPro ??
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform