AllowToolbarChanges Property

Applies To

Database Object.

Description

You can use the AllowToolbarChanges property to specify whether or not your database allows users to customize toolbars. For example, you can use the AllowToolbarChanges property to prevent users from deleting a toolbar button or an entire toolbar from your application.

Setting

The AllowToolbarChanges property uses the following settings.

Setting Description
True (-1) Allow changes to toolbars.
False (0) Don’t allow changes to toolbars.


You can set this property by using a macro or Visual Basic. You can also set this property using the Allow Toolbar Changes option in the Startup dialog box, available by clicking Startup on the Tools menu. This is the easiest way to set this property.

Remarks

Setting the AllowToolbarChanges property to False prevents users from modifying any toolbars. It disables the Toolbars command on the View menu, the right-click menu feature on toolbars, and all Close buttons on toolbars displayed in the Microsoft Access window.

The user can modify built-in toolbars only when the AllowToolbarChanges property is True and the AllowBuiltInToolbars is True.

This property’s setting does not take effect until the next time the database opens.

See Also

AllowBreakIntoCode Property, AllowBuiltInToolbars Property, ShowToolbar Action.

Example

See the AllowBreakIntoCode property example.