reset form timer with mousemove

NigelShaw

Registered User.
Local time
Today, 20:31
Joined
Jan 11, 2008
Messages
1,575
Hi

i have a nice tidy form that simulates the outlook display bar (bottom right) when i get a new message in my proposed system. the form fades in and fades out 30 seconds later. Do you think there would be a way of resetting the timer to when a mouse is moved over it so if it was fading out, the mouse move would reset and bring the form back again until such time the form is left to fade out naturally?

i thought that on a mouse move, i could re-initiate the form load code that fades in the form.

i havent tested it yet as im at work but is it likely to work/


cheers


nigel
 
Maybe call the Form_Timer event on a mousemove over the display bar object so it reinitializes....

I haven't messed around with Form.TimerInterval, but maybe there is a way to determine IF Form.TimerInterval = 30000 THEN call Form_Timer
 

Users who are viewing this thread

Back
Top Bottom