SuppressEventProcessing

Description

Whether the ButtonClicked or ButtonClicking event is fired for this particular button.

Applies to

Button controls

Syntax

Describe and Modify argument:

"buttonname.SuppressEventProcessing { = ' value ' }"

Parameter

Description

buttonname

The name of the button control for which you want to suppress event processing.

value

Whether event processing is to occur.

Values are:

  • Yes – The event should not be fired.

  • No – The event should be fired (default).

Usage


In the painter

Select the control and set the value in the Properties view, General tab.

Examples

Example 1

setting = dw1.Describe("b_name.SuppressEventProcessing")

Example 2

dw1.Modify("b_name.SuppressEventProcessing ='No'")