| 
BUG: Right-Aligned Button Text Not Visible in Vertical Toolbar
ID: Q193695
 
 | 
The information in this article applies to:
- 
Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, versions  5.0, 6.0
SYMPTOMS
The caption text of buttons on a vertically-aligned toolbar will not be
visible if the button text is right-aligned.
RESOLUTION
This will work correctly if you have the text aligned to the bottom, or the
toolbar aligned top or bottom with the text aligned right.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new Visual Basic Standard EXE project. Form1 is created by
   default.
- Select Components from the Project menu, check "Microsoft Windows
   Common Controls," and then click OK.
- Place a Toolbar on the form.
- In the properties window, set the Toolbar Align property to
   3- vbAlignLeft.
- Right-click the Toolbar and select Properties to bring up the
   Toolbar's property sheets. Click the Button tab and insert two
   buttons in the toolbar with the Captions "One" and "Two."
- Click the General tab and set the TextAlignment property to
   1- tbrTextAlignRight.
- Run the project, and note that the text on the buttons will not be
   visible.
Additional query words: 
kbDSupport kbDSD kbVBp kbVBp600bug kbVBp500bug kbToolbar 
Keywords          : kbGrpVB 
Version           : WINDOWS:5.0,6.0
Platform          : WINDOWS 
Issue type        : kbbug