CancelEvent Method (Workflow Toolbar)
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
This method cancels any further processing of the current Microsoft® Office Developer Workflow Toolbar control event.
Syntax
object.CancelEventvalue
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 events.
Example
ActiveXCtl0.CancelEvent 1 'True
See Also
Workflow Toolbar Object Model | Workflow Toolbar Properties | ClickAction Event (Workflow Toolbar)