Xojo.Core.Timer.CancelCall

From Xojo Documentation

Shared Method

Xojo.Core.Timer.CancelCall(method As Xojo.Core.Timer.CallNoParams)

Supported for all project types and targets.

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


Shared Method

Xojo.Core.Timer.CancelCall(method As Xojo.Core.Timer.CallWithArg)

Supported for all project types and targets.

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

Sample Code

Cancel the ClearLabel callback:

Xojo.Core.Timer.CancelCall(AddressOf ClearLabel)

Cancel the SetLabel callback:

Xojo.Core.Timer.CancelCall(AddressOf SetLabel)