BUG: Toolbar with Placeholder Button Does Not Wrap Correctly (256857)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q256857 SYMPTOMS
When a form contains a Toolbar control with several buttons and several placeholders and the Wrappable property is set to True, when the form is resized to a smaller size, the Toolbar wraps to the next line.
The placeholder buttons on the Toolbar wrap when the edge of the form starts to overlap the first non-placeholder button immediately to the right of the placeholder. However, the buttons to the right of the placeholder wrap incorrectly. They are wrapped onto two lines instead of one and are only partially visible. The Toolbar corrects itself when the first non-placeholder button to the left of the placeholder wraps to the next line.
RESOLUTION
A workaround is to place a dummy placeholder before and after the desired placeholder. However, if several placeholders are side-by-side in a row, this workaround does not resolve the issue because the placeholders act as one unit and wrap together when the form overlaps the left-most placeholder. In this situation, the controls used in conjunction with the placeholders of the Toolbar must be wrapped programmatically.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information on Toolbar wrapping problems, click the article number below
to view the article in the Microsoft Knowledge Base:
175533 BUG: Toolbar Does Not Wrap Correctly
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbBug kbCmnCtrls kbCtrl kbpending kbToolbar KB256857 |
---|
|