Role

This property determines how the button is activated: Normal (by clicking it; default), Default( pressing Enter), or Cancel (pressing Escape).

role="Normal | Default | Cancel"

Value

Description

Normal

Button is activated when the user clicks it.

Default

Button is activated when the user presses Enter anywhere within the window border. The button is displayed with a thick border.

Cancel

Button is activated when the user presses Escape within the window border.

Description

When the button is activated, the field-level Detail trigger is fired. Use this trigger to define the action associated with the button.

Setting in ProcScript

$fieldproperties(BTN5) = "role=default"

Applies To

CommandButton