JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Turning Timers On and Off

You can use a timer component's Enabled property to turn the timer on (which means Tick events will occur) or off (which means they won't). You can also use the Start and Stop methods to do the same thing. For an example of timers at work, take a look at the next solution "Handling Timer Events—and Creating an Alarm Clock."

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor