SuppressEventProcessing

Description

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

Applies to

Button controls

Syntax

PowerBuilder dot notation:

dw_control.Object.buttonname.SuppressEventProcessing

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

string setting

dw1.Object.b_name.SuppressEventProcessing = "Yes"

Example 2

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

Example 3

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