Each great spirit: I there is a form of engineering FORM1, when the LOAD, opened the TIMER1, arguably when unload FORM1 TIMER1 should be followed stopped, but when I was in form2 found TIMER1 or running, or every other interval is executed in the timer event, then I amend the program to: Me. The Timer1. Enable=False Form2. Show Unload Me But even if like this, why form2 timer1 when running in the running events or running? Do not know to have also encountered such a problem, you masters, genuflect is begged help the younger brother to solve this problem, thank you!
CodePudding user response:
The problem in other places, the three lines of code you provide is can't see a problem,
CodePudding user response:
You should be somewhere outside FORM1 cited Timer1? Otherwise, you will be somewhere cited Form1, Form1 closed but no real release
CodePudding user response:
How do you know the timer1 from1 still running?
CodePudding user response:
I have a pop up a timer of MSGBOX, so I know
CodePudding user response:
I also encountered the same problem: I wrote the following code in the timer1
If i> 4 then I=0 Timer1. Enable=false Msgbox (" completed conversion ") End the if
Timer1 didn't stop as a result, MSG also plays out,,, Please help