October 7th, 1999, 01:33 PM
Any ideas? Have tried Timer1.Enabled = False but it doesn't seem to work.
|
Click to See Complete Forum and Search --> : How to STOP a Timer? October 7th, 1999, 01:33 PM Any ideas? Have tried Timer1.Enabled = False but it doesn't seem to work. Miguel October 8th, 1999, 09:49 AM Hi: I believe that your idea is OK (Timer1.Enabled = False). I have tested the following program and work fine. Dim cont as Long private Sub Form_Load() Timer1.Interval = 10 End Sub private Sub Start_Timer_Click() Timer1.Enabled = true End Sub private Sub Stop_Timer_Click() Timer1.Enabled = false End Sub private Sub Timer1_Timer() cont = cont + 1 Text1.Text = cont End Sub Good luck. Bye.. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |