Xojo.Core.Timer.Mode

From Xojo Documentation

Property (As Xojo.Core.Timer.Modes )
aXojo.Core.Timer.Mode = newXojo.Core.Timer.ModesValue
or
Xojo.Core.Timer.ModesValue = aXojo.Core.Timer.Mode

Supported for all project types and targets.

Specifies if the timer calls the Action event handler once, multiple times or not at all using the Modes enumeration. The default is Xojo.Core.Timer.Modes.Off.

Notes

Setting Mode to Single or Multiple starts the Timer.

Sample Code

Set the Mode to Multiple:

Timer1.Mode = Xojo.Core.Timer.Modes.Multiple