Xojo.Core.Timer

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from Object)

Provides a way to run code at specified intervals.

Events
Action
Properties
Mode Period Tolerance
Shared Methods
CallLater CancelCall
Enumerations
Modes
Delegate Methods
CallNoParams CallWithArg

Notes

Timers run on the main thread.

If you instantiate a Timer in code, you'll need to use AddHandler to direct the Action event to a method. Refer to the AddHandler page for an example.

See Also

AddHandler command