This method allows the user to check to see if a given command is supported on the
control. The command parameter should be one of the commands listed in the execCmd
function.
See execCmd for more
information.
var box = scene.getBoxById("myBox");
if (box)
{
if (box.queryCmdSupported("redo"))
{
// Perform operations here.
}
}