AllowNewToolbars Property
Description
Enables or disables the "New..." toolbar button on the Toolbars tab.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property AllowNewToolbars() As Boolean
Remarks
The "New" toolbar button is located on the "Toolbars" page in the Customization dialog.
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.
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 allow new toolbars to be created
Options.AllowNewToolbars = False
' 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.