CommandBar Members
Functions
| Name | Description |
|---|---|
| InsertButton | Adds a button to the command bar referencing the specified command. Return value: CommandBarItem. |
| InsertMacroButton | Adds a button to the command bar referencing the specified global macro. Return value: CommandBarItem. |
| InsertPopupMenu | Adds the specified context menu to the command bar. Return value: CommandBarItem. |
| InsertSeparator | Adds a separator bar onto the command bar. |
| Paste | Pastes the specified item onto the command bar. |
| RemoveAll | Removes all command bar buttons from the command bar. |
| Reset | Resets the command bar to its default state. |
Properties
| Name | Description |
|---|---|
| Application | Returns the application associated with the command bar. Return value: Application. This property is read only. |
| BuiltIn | Returns whether the command bar is a standard Statistica toolbar. Return value: Boolean. This property is read only. |
| Count | Returns the number of command buttons on the command bar. Return value: Integer. This property is read only. |
| Item | Returns a command button from the command bar. Return value: CommandBarItem. This property is read only. |
| Name | Returns/sets the name of the command bar. Return/assignment value: String. |
| Parent | Returns the CommandBars collection this command bar belongs to. Return value: CommandBars. This property is read only. |
| Position | Returns/sets the position of the command bar (bottom, floating, left, menu bar, pop up, right, top). Return/assignment value: BarPosition. |
| Type | Returns/sets the type of the command bar (context menu, menu bar, pop up, toolbar). Return value: BarType. This property is read only. |
| Visible | Returns/sets the visibility of the command bar. Return/assignment value: Boolean. |
| VisibleInDocument | Returns/sets whether command bar is displayed when the specified document type has the focus. Return/assignment value: Boolean. |
Subtopics