ViewToolbars

Syntax

ViewToolbars [.Toolbar = text] [, .Context = number] [, .ColorButtons = number] [, .LargeButtons = number] [, .ToolTips = number] [, .ToolTipsKey = number] [, .Reset] [, .Delete] [, .Show] [, .Hide]

Remarks

The arguments for the ViewToolbars statement correspond to the options in the Toolbars dialog box (View menu).

Argument

Explanation

.Toolbar

The name of the toolbar you want to reset, delete, display, or hide, as listed in the Toolbars box.

.Context

Specifies a template in which to reset an existing toolbar:

0 (zero) or omitted Normal template

1 Active template

.ColorButtons

If 1, displays color toolbar buttons.

.LargeButtons

If 1, displays enlarged toolbar buttons.

.ToolTips

If 1, displays the button name beneath a button when the mouse pointer is over it.

.ToolTipsKey

If 1, displays the shortcut key assigned to the toolbar button in the button's ToolTip.

.Reset

Restores the specified toolbar to its default configuration of buttons.

.Delete

Deletes the specified toolbar.

.Show

Displays the specified toolbar.

.Hide

Hides the specified toolbar.


See Also

NewToolbar, ToolsOptionsView, ViewRibbon, ViewRuler, ViewStatusBar