Jaa


CommandStateChange event

Fires when the enabled state of a command changes.

Syntax

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.

VARIANT_FALSE (false)

Command is disabled.

VARIANT_TRUE (true)

Command is enabled.