queryCommandState Method
Returns the current state of the command.
Syntax
bDone = object.queryCommandState(sCmdID)
Parameters
sCmdID Required. String that specifies a command identifier.
Return Value
Boolean. Returns true if the given command has been executed on the object, false if it has not, and null if it is not possible to determine the command state.
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus. document, controlRange, TextRange
See Also
execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandSupported, queryCommandValue
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.