Documentation Center

Command.getEnabled

Description

A command is enabled when the user can click on the button as it is colored. Disabled commands are grayed out in the user interface.

Syntax

Command .getEnabled (scope : Scope) : Boolean

Arguments

scope
Scope . The scope state.

Return Value

Boolean. Returns true if this command is enabled.