>>Hi all ...
>>
>>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.
>>
>
>I wrote an article about taking advantage of idle type in an application; it appeared in the December '03 FoxPro Advisor. It should give you some ideas.
>
>Tamar
Thanks Tamar ...
That article was very useful, however, I'm having a problem with the two timers. I'm actually using your code to pop up a login screen after a set period of Idle time, however, the timer which is binding the KeyPress & MouseDown events of each form seems to be resetting the first timer. This means that the timer which pops up my login screen after a set period of time will never kick in, as the binding timer event is set to run every 15 seconds. Do you know any way around this problem ??
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