Click to return to the DHTML, HTML     
queryCommandState Method     queryCommandValue Method     DHTML Methods    
Web Workshop  |  DHTML, HTML & CSS

queryCommandSupported Method


Returns whether the current command is supported on the current range.

Syntax

bSupported = object.queryCommandSupported(sCmdID)

Parameters

sCmdIDRequired. String that specifies a command identifier.

Return Value

Boolean. Returns true if the command is supported, or false otherwise.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
document, controlRange, TextRange

See Also

execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandValue



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.