I need to achieve different results at different points in my TAB controlled form depending on the user input (or lack of it) after a varying lengths of time. For example if there is no user input after 5 minutes i need to set of an alarm and MsgBox to prompt for it except when "Break" has been selected in which case the alarm should go off after 22 minutes. I have been searching the site and MSDN for suitable ways of achieving it and if i had seperate opening forms i think i could but as i mentioned its 1 form with pages, what i was thinking of was something along the lines of
Dim SetTimerInterval As Interger
Private Sub Form_Load()
TimerInterval = SetTimerInterval
End Sub
Sub Form_Timer()
Beep
End Sub
Where i would somehow reset the value of SetTimerInterval depending on the situation, users have to click command buttons so i was thinking of using these in some way?
Anyway its one of those I know it can be done but i am not sure of the best way situations i was hoping that somebody could point me in the direction of a good example or could give me some advice.
Regards
Adrian
Dim SetTimerInterval As Interger
Private Sub Form_Load()
TimerInterval = SetTimerInterval
End Sub
Sub Form_Timer()
Beep
End Sub
Where i would somehow reset the value of SetTimerInterval depending on the situation, users have to click command buttons so i was thinking of using these in some way?
Anyway its one of those I know it can be done but i am not sure of the best way situations i was hoping that somebody could point me in the direction of a good example or could give me some advice.
Regards
Adrian