Cancels any further processing of the current Workflow Toolbar control event.
Syntax
object.CancelEvent value
The CancelEvent method syntax has the following parts:
Part | Description |
Object | Object is a required object expression that evaluates to a Workflow Toolbar control. |
value | Required. A Boolean expression. If value is 1 (True), then the current event will be canceled. |
Remarks
Client script can use this method to override the default behavior for workflow actions or the Offline button.
Example
ActiveXCtl0.CancelEvent 1 'True