BUG: Toolbar ButtonMenu May Not Display Correctly
ID: Q194915
|
The information in this article applies to:
-
Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0
SYMPTOMS
Using a ToolBar "ButtonMenu" in conjunction with setting the ToolBar's
"Align" property to "3 - vbAlignLeft" or "4 - vbAlignRight" causes the drop-
down portion of the button to be only partially visible.
RESOLUTION
While the majority of the drop-down portion of the button is not visible,
the portion that is displayed retains the full "ButtonMenu" functionality
and can be used despite the incorrect display.
If the button must be fully displayed, the "Align" property must be set to
"0 - vbAlignNone," "1 - vbAlignTop," or "2 - vbAlignBottom."
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 Standard EXE project. Form1 is created by default.
- Choose Components from the Project menu, check "Microsoft Windows
Common Controls - 6.0," and click OK.
- Add a ToolBar control to Form1.
- View the ToolBar's custom property page.
- Select the "Buttons" tab.
- Click "Insert Button."
- Change the "Style" property to "5 - tbrDropdown."
- Click "Insert ButtonMenu."
- Type "Hello" into the "Text" property and click "OK."
- View the ToolBar's standard properties.
- Change the "Align" property to "3 - vbAlignLeft."
- Run the sample application. The result is that the ToolBar appears on
the left side of Form1. The actual ToolBar button can be seen; however,
its drop-down arrow is only partially visible. Clicking on the ToolBar
to the right of the button still activates the fully functioning
drop-down menu.
Keywords : kbCmnCtrls kbCtrl kbToolbar kbVBp kbVBp600bug kbGrpVB
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug