Skip to content

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.

Position Values

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

CommandBars Control


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.