Constructors: NewTicker |
Creates a new Ticker.
Public Function NewTicker( ByVal Interval As Long, Optional ByRef Data As Variant, Optional ByVal AutoReset As Boolean = True, Optional ByVal AddressOfCallback As Long ) As Ticker
Default: True
A callback method is used to allow a timer object to notify the function without having to use an Event. A function callback must have the following signature, or the application may crash.
Public Sub TickerCallback(ByRef Ticker As Ticker, ByRef Data As Variant) do stuff End SubThe two parameters must be declared as ByRef.