Share via


Small Basic Reference Documentation: Timer Object

Small Basic: Reference Documentation > Timer


http://www.smallbasic.com/img/object_32.png

Timer

The Timer object provides an easy way for doing something repeatedly with a constant interval between.

Properties

http://www.smallbasic.com/img/property_16.png Interval

Timer.Interval

Gets or sets the interval (in milliseconds) specifying how often the timer should raise the Tick event. This value can range from 10 to 100000000

Events

http://www.smallbasic.com/img/event_16.png Tick

Timer.Tick

Raises an event when the timer ticks.

Operations

http://www.smallbasic.com/img/method_16.png Pause

Timer.Pause()

Pauses the timer. Tick events will not be raised.

Returns

Nothing

http://www.smallbasic.com/img/method_16.png Resume

Timer.Resume()

Resumes the timer from a paused state. Tick events will now be raised.

Returns

Nothing

 

See Also