Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Idle time calculation
Message
From
08/06/2004 07:12:37
 
 
To
02/06/2004 13:30:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00907707
Message ID:
00911063
Views:
23
>>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 ??
>
>I don't know why the binding timer would reset the other one. I don't see anything in my code that would have that effect. You might try setting a breakpoint on the Reset method of the idle timer to see when it's getting called.
>
>Tamar

Thanks for that Tamar ...

Sorry for the delay getting back, but I was working on something else. The problem was that I was binding the MouseMove event which seems to fire even when the mouse isn't moving ... figured it out anyway, and now the whole thing's working great ...

Thanks again ...
Previous
Reply
Map
View

Click here to load this message in the networking platform