Add Method
Description
Adds a new command bar.
Syntax
Public Function Add( _
ByVal [Name](#) As String, _
ByVal [Position](#) As [XTPBarPosition](XtremeCommandBars~Enumerations~XTPBarPosition_EN.md) _
) As [CommandBar](XtremeCommandBars~CommandBar.md)
Parameters
-
Name
The title of the command bar. -
Position
The initial position of the command bar. Possible values include:
| Value | Description |
|---|---|
| xtpBarTop | The bar is docked to the top edge of the form. |
| xtpBarBottom | The bar is docked to the bottom edge of the form. |
| xtpBarLeft | The bar is docked to the left edge of the form. |
| xtpBarRight | The bar is docked to the right edge of the form. |
| xtpBarFloating | The bar is a floating command bar. |
| xtpBarPopup | Not Used for dialog bar. |
| xtpBarListBox | Not Used for dialog bar. |
| xtpBarComboBoxGalleryPopup | The command bar will be displayed as a gallery. |
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.