Xojo.Core.Timer

From Xojo Documentation

Revision as of 18:30, 14 August 2018 by PLefebvre (talk | contribs) (Created page with "{{ClassBox | super=Object | scope=global }} {{Description | text=Provides a way to run code at specified intervals.}} <dynamicTable id="Events" class="eventTable" title="...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from Object)

Provides a way to run code at specified intervals.

Events
Action
Properties
Mode fa-lock-32.png Period fa-lock-32.png Tolerance fa-lock-32.png
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