ShowToolbars Property

The ShowToolbars property returns or sets the visibility state of all the toolbars. Returns an integer.

 

Syntax

object.ShowToolbars

object.ShowToolbars = Vis

 

Parameter

Type

Description

Vis

Integer

required, the MVToolbars enumeration can be used for this parameter

 

Remarks

Values can be added together to get combinations of toolbars to appear.

 

Example 1

This example demonstrates how to return which toolbars are displayed.

 

Debug.Print mvApp.ShowToolbars

 

Example 2

This example demonstrates how to display the main and drawing toolbars.

 

mvApp.ShowToolbars = mvTBMain + mvTBDraw

 

Used by: Application object