ui.Dialog.setActionActive

Enabling and disabling dialog actions.

Syntax

setActionActive(
  name STRING,
  active BOOLEAN )
  1. name is the name of the action.
  2. active is a boolean value.

Usage

Use the setActionActive() method to enable or disable an action.
CALL DIALOG.setActionActive("zoom", FALSE)

The second parameter of the method must be a boolean expression that evaluates to 0 (FALSE) or 1 (TRUE).

For more details about action names, see Identifying actions in dialog methods.