FIX: Toolbar's Customize Method Replicates Images in ToolbarID: Q223129
|
A Visual Basic project contains an ImageList control associated with a Toolbar control. The ImageList control contains at least four 16x16 images that appear on buttons on the Toolbar control. You run the project and double-click the Toolbar control to display the Customize Toolbar dialog box. When you change the position of a Toolbar button using the Move Up or Move Down button twice, the button image is replicated on a previous position.
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio 6.0 Service Packs, please see the following articles in the Microsoft Knowledge Base:
Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
This section shows you how to create a Visual Basic project that demonstrates the bug behavior. The section assumes you are familiar with adding a reference to a project and using the Toolbar and ImageList controls.
Option Explicit
Private Sub Form_Load()
Set Toolbar1.ImageList = ImageList1
With Toolbar1.Buttons
.Add , , , , 1
.Add , , , , 2
.Add , , , , 3
.Add , , , , 4
End With
End Sub
Additional query words:
Keywords : kbservicepack kbButton kbCmnCtrls kbCtrl kbImgList kbVBp600bug kbGrpVB kbVS600sp2 kbVS600SP1 kbVS600sp3fix
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 20, 1999