Guides & Tutorials

Guides and Tutorials

Displaying Text Below ToolBar Icons

by Mike Palmatier Visual Basic 6 Created on 02/03/2008  |  Updated on 07/30/2024 0/5 ( 0 votes )

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

User Comments

No comments yet, sign in to comment.