Skip to content

ShowToolbarsPage Property

Description

Hides/Un-Hides the Toolbars page of the Customization dialog.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property ShowToolbarsPage() As Boolean

Remarks

The Customization dialog is accessible by the user when they right-click on the toolbar and select "Customize..." or select "Customize..." from the drop-down at the end of the toolbar. The Toolbars page allows users to add, rename, delete, and reset toolbars.

Use the AllowNewToolbars property to enable/disable the "New..." toolbar button.

Example

This sample illustrates how to hide/show the Toolbars tab in the customization dialog box.

Private Sub CommandBars_Customization(ByVal Options As XtremeCommandBars.ICustomizeOptions)  
    '==========================================================================================================  
    ' Choose which pages to display in the customization dialog  
    '==========================================================================================================  
    ' Do not show the Toolbars page in the customization dialog  
    Options.ShowToolbarsPage = False  

    ' Do not show the Options page in the customization dialog  
    Options.ShowOptionsPage = False  
End Sub

See Also


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