ui.Dialog.setActionActive
Enabling and disabling dialog actions.
Syntax
setActionActive(
name STRING,
active BOOLEAN )
- name is the name of the action, see Identifying actions in dialog methods.
- 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.