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

string setting
dw1.Object.b_name.SuppressEventProcessing = "Yes"
setting = dw1.Describe("b_name.SuppressEventProcessing")
dw1.Modify("b_name.SuppressEventProcessing = 'No'")