PRB: CE TabStrip Images Might Not Be Redrawn Properly (215432)
The information in this article applies to:
- Microsoft Windows CE Toolkit for Visual Basic 6.0
- Microsoft eMbedded Visual Basic 3.0
This article was previously published under Q215432 SYMPTOMS
If you change the image on the selected tab of a TabStrip control, the image is not updated until you change tabs. If you remove all the images, the tabstrip does not reflect the removal of the images.
CAUSE
Modification of the ImageList control after another control is bound to it is unsupported. Do not expect the bound control to check for any immediate changes in the underlying ImageList control.
RESOLUTION
The solution is to rebind the ImageList to the TabStrip control to view any changes to the images. In the sample below, you need to uncomment the following line of code after the ImageList is changed in the Command3 and Command4 click events:
TabStrip1.ImageList = ImageList1.hImageList
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 8/19/2005 |
---|
Keywords: | kbprb kbToolkit KB215432 |
---|
|