|
Support
ActiveX / COM
Visual C++ / MFC
Customer Spotlight
Corporate Partners
Contact Sales
Call center available M-F 9:00 - 6:00 US Eastern Time. U.S. and Canada International Email |
Displaying Text Below ToolBar Icons
Author: Mike Palmatier
Posted: February 3, 2006
Environment: 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.
CommandBars.Options.ShowTextBelowIcons = True
This sample code illustrates how to add text below the icons in a specific toolbar only.
CommandBars(2).ShowTextBelowIcons = True
|
