Programmatically turn on and off the OnTimer Event

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to turn off an ontimer event on a calling form while the called
form is open and then turn it back on when it closes.

What might the syntax look like.
 
Set the form's TimerInterval value to 0 when you don't want the Timer event
to fire. Set it to a non-zero value when you do want it to fire.
 
Back
Top