method queryCmdSupported

bool queryCmdSupported(string cmd);

Argumente

Zurückgegebener Wert

This method allows the user to check to see if a given command is supported on the control. The command parameter is one of the commands listed in the execCmd function.

See execCmd for more information.

var box = scene.getBoxById("myBox");
if (box)
{
    if (box.queryCmdSupported("hyperlink"))
    {
        // Perform operations here.
    }
}