CommandBars Articles and Tutorials

Displaying Text Below ToolBar Icons

Author: Mike Palmatier
Platform: Visual Basic 6.0

You can specify that the Caption of each ToolBar button be displayed under the ToolBar icon by setting the CommandBars.Options.ShowTextBelowIcons property to True. This will be applied to all toolbars. You also have the option of individually setting this property to specific ToolBars by setting the ShowTextBelowIcons property of each ToolBar.

Text below toolbar icons

This sample code illustrates how to add text below your toolbar icons.

CommandBars.Options.ShowTextBelowIcons = True

This sample code illustrates how to add text below the icons in a specific toolbar only.

CommandBars(2).ShowTextBelowIcons = True