Timer.CancelCallLater

From Xojo Documentation

Shared Method

Timer.CancelCallLater(method As Timer.TimerCallLater)

New in 2019r2

Used to cancel a previously scheduled CallLater that has not yet been run.


Shared Method

Timer.CancelCallLater(method As Timer.TimerCallLaterWithValue)

New in 2019r2

Used to cancel a previously scheduled CallLater that has not yet been run.

Sample Code

Cancel the ClearLabel callback:

Timer.CancelCall(AddressOf ClearLabel)

Cancel the SetLabel callback:

Timer.CancelCall(AddressOf SetLabel)