Skip to content

ShowCommandsPage Property

Description

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

Property Type

Read-write property

Syntax (Visual Basic)

Public Property ShowCommandsPage() 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 Commands page allows users to add commands to the toolbars by dragging any of the listed commands to the desired toolbar.

Example

This sample illustrates how to hide/show the Commands 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 Commands page in the customization dialog  
    Options.ShowCommandsPage = 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.