Originally Posted by
SamOscarBrown
Did you add the 'static' declaration like I told you in the above post?
You do not need to add the Enabled=False in your code as long as you have the control set to False in the IDE (recommended).
Static lets you keep the value of mTime.
For example, if mtime is not declared at all (as in your code), each time you Enable the timer, it is set to zero. Hence, it will never get above 1.
By using the static codeword, it 'remembers' what the value of mtime was each time it comes into the timer, hence, it will go from zero to 4 before it accomplishes the things you want to do.