jsn

BaseToolbar - does not show in Tools -> Customize -> Toolbars

Discussion created by jsn on Feb 11, 2011
Hi all,

I created a component, with a Command (template BaseButton) and a Toolbar (template Base Toolbar).

The button shows in the tab Tools --> Customize --> Commands  but the Toolbar does not show in the tab  Tools --> Customize-->Toolbar

Why?   Please advice...


Public Sub New()

        '
        'TODO: Define your toolbar here by adding items
        '
        AddItem("esriArcMapUI.ZoomInFixedCommand")

        BeginGroup() 'Separator

        AddItem("{FBF8C3FB-0480-11D2-8D21-080009EE4E51}", 1) 'undo command
        AddItem(New Guid("FBF8C3FB-0480-11D2-8D21-080009EE4E51"), 2) 'redo command
    End Sub

    Public Overrides ReadOnly Property Caption() As String
        Get
            'TODO: Replace bar caption
            Return "My Toolbar"
        End Get
    End Property

    Public Overrides ReadOnly Property Name() As String
        Get
            'TODO: Replace bar ID
            Return "My_Toolbar"
        End Get
    End Property

Outcomes