| Constructors: NewTicker |
Creates a new Ticker.
Public Function NewTicker( ByVal Interval As Long, Optional ByVal 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 Sub
The two parameters must be declared as ByRef.
Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewSystemException NewTime