queryCommandStatequeryCommandState*
*Contents  *Index  *Topic Contents
*Previous Topic: queryCommandIndeterm
*Next Topic: queryCommandSupported

queryCommandState

Description

Returns the current state of the command.

Syntax

Boolean = object.queryCommandState(command)

ParameterDescription
command (String) String that specifies the command to query. Can be any valid command identifier.

Return Value

Returns TRUE if the given command has been carried out on the object, FALSE if it has not, and NULL if it is not possible to determine the command state.

Applies To

document, TextRange

See Also

execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandSupported, queryCommandValue


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.