TextRange.queryCommandEnabled() (Method)

Part of an MSIE special document command handling mechanism. Indicates the disposition of the specified command.


JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyTextRange.queryCommandEnabled(aCommandName)
Argument list:aCommandNameAn MSIE command name

This method returns a Boolean value that indicates whether the named command is enabled. Many factors can affect the result of this command. It may depend on the ready state of the document or whether a selection is in force.

Refer to the TextRange.execCommand() method for a list of the available commands.

See also:Document object, Document.queryCommandEnabled(), TextRange.execCommand()