Ticker: Callback (get)

Callback

Returns the callback address of the function used by the Ticker object.



 Public Property Get Callback ( ) As Long

Return Values

Long -  Callback address. Setting this to zero will stop the callback.

Remarks

A callback method is used to allow a Ticker 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.

Read/Write.

See Also

Project VBCorLib Overview Class Ticker Overview Ticker Properties Ticker Methods AutoReset (let) Callback (let)