CancelEvent Action

Cancels certain behaviors triggered by the event that caused Newlook to run the current macro.

Use

TIP!

The CancelEvent action does not cancel the event itself. Rather it cancels certain behaviors that are inherently linked to an event. See below for a list of scenarios in which the CancelEvent action can be used.

The CancelEvent action can be used in the following scenarios:

  • OnSend property of a form - the current screen will not be sent to the host.
  • OnClick property of a control - the Buddy properties of the control will be ignored and any updates to the Buddy control will be prevented.
  • OnClick property of a form - no Click event is triggered for the form.
  • OnDblClick property of a control or form - no DblClick event is triggered for the control or form.

Parameters

None.

See Also

OnSend Property | OnClick Property