Skip to content

AltDragCustomization Property

Description

Gets/Sets whether the command bar can be customized during runtime while the Alt key is pressed and Customization is enabled.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property AltDragCustomization() As Boolean

Remarks

Customization must be enabled, and you will only be able to customize command bars with the Customizable property set to True. By default, Alt key customization is enabled when command bar customization is enabled. When enabled, you can press and hold the Alt key while you click and drag toolbar buttons.

Example

This sample illustrates how to disable Alt key customization.

' This will disable Alt key customization
CommandBars.Options.AltDragCustomization = False

' This will enable Alt key customization when CommandBars.EnableCustomization(True)
CommandBars.Options.AltDragCustomization = True

See Also


See Also


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