Originally Posted by Chris Lynch
HI i have the following code
visual basic code:--------------------------------------------------------------------------------
timer1.enabled = False
'a bit of code
timer1.enabled = True
--------------------------------------------------------------------------------
this executes the code between the timer1, every time its interval is up, so to say.
I want to disable this timer when a button is pressed and enable it again, when another is pressed....
to disable it had
visual basic code:--------------------------------------------------------------------------------
Private Sub command1.click ()
timer1.enabled = False
End Sub
' and to enable it again i had
Private Sub command1.click ()
timer1.enabled = True
End Sub
--------------------------------------------------------------------------------
This didn't work as i have already enabled it in another part of the code
Any Thoughts
Chris Lynch
__________________
11 is the magic number