FIX: Cannot Set ImageList for ImageCombo at Design on MDIForm (194910)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q194910 SYMPTOMS
An ImageCombo control on an MDIForm initially appears empty. Even when an
item is selected from the drop-down list it does not display any images.
CAUSE
When on an MDIForm, the ImageCombo does not initially bind to its ImageList
nor does it display its text. So the image(s) does not appear if the
ImageList property of the ImageCombo was set at design-time.
RESOLUTION
To make the image(s) appear, set the ImageList property of the ImageCombo
at run-time when on an MDIForm. To make the text display, set the focus to
the ImageCombo. Note that making the ImageCombo's TabIndex = 0 will not
work.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are 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: 194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why 194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbBug kbCtrl kbfix kbVS600sp3fix KB194910 |
---|
|