AllowCustomize Property

           

Returns or sets a value determining if a Toolbar control can be customized by the end user with the Customize Toolbar dialog box.

Syntax

object.AllowCustomize [= boolean]

The AllowCustomize property syntax has these parts:

Part Description
object An object expression that evaluates to a Toolbar control.
boolean A constant or value that determines if the user can customize a Toolbar control, as described in Settings.

Settings

The settings for boolean are:

Setting Description
True Allows the end user to invoke the Customize Toolbar dialog box by double clicking a Toolbar control.
False Customization of the Toolbar control with the Customize Toolbar dialog box is not allowed.

Remarks

If the AllowCustomize property is set to True, double-clicking a Toolbar control at run time invokes the Customize Toolbar dialog box.

The Customize Toolbar can also be invoked with the Customize method.