pip187
03-04-2002, 03:29 AM
How do I use the timer to make a pause in an event?
I have put a timer on my form, and assigned an interval of 10000.
I want to use the timer in my code, so when I click cmdChange, the code is executed up to a certain point, and then there is a 10 second pause before the rest of the code is executed.
eg.
Private Sub cmdChange_Click()
frmTest.print "Please wait 10 seconds"
(10 second pause required)
frmTest.print "thanks for waiting"
End Sub
Thanks
Phil.
I have put a timer on my form, and assigned an interval of 10000.
I want to use the timer in my code, so when I click cmdChange, the code is executed up to a certain point, and then there is a 10 second pause before the rest of the code is executed.
eg.
Private Sub cmdChange_Click()
frmTest.print "Please wait 10 seconds"
(10 second pause required)
frmTest.print "thanks for waiting"
End Sub
Thanks
Phil.