The CommandBars interface supports one method, Add.
Add(strName, [intPosition=5]) | |
Returns | CommandBar |
Description |
Creates and adds to the collection a new CommandBar object with the
given name and position. The allowed values for intPosition are:
|
Usage | |
JScript | CommandBars_object.Add("strName", [intPosition]); |
VBScript | CommandBars.Add("strName", [intPosition]) |
Example |
// SoftQuad Script Language JSCRIPT: // create a floating command bar Application.CommandBars.Add("My Toolbar"); |
FindControl(intControlType, longCmdId, [variantVisible], [variantRecursive]) | |
Returns | CommandBarControl |
Description |
Searches for and returns a CommandBarControl based on the arguments provided. The allowed values for intControlType are:
(Not implemented) |
Usage | |
JScript | CommandBars_object.FindControl(intControlType, longCmdId, [variantVisible], [variantRecursive]); |
VBScript | CommandBars_object.FindControl(intControlType, longCmdId, [variantVisible], [variantRecursive]) |
Copyright © SoftQuad Software Inc. 1999