Share via

CommandStateChange event

Fires when the enabled state of a command changes.


HTML Attribute <element CommandStateChange = "handler(event)">
attachEvent Method object.attachEvent("CommandStateChange", handler)


Event information

Synchronous No
Bubbles No
Cancelable No


Event handler parameters

Command [in]

Type: Long

A CommandStateChangeConstants enumeration value that specifies the command that changed.

Enable [in]

Type: Boolean

A Boolean value that specifies the enabled state.


Command is disabled.


Command is enabled.