Microsoft KB Archive/150207

= FIX: Error Message on Property Page of ImageList Reappears =

Article ID: 150207

Article Last Modified on 7/15/2004

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q150207



SYMPTOMS
If the navigation arrow keys are used to try to change the Image size of icons when there are pictures already stored in the Image List property page, the user correctly receives the following error message:

"Property is read-only if imagelist contains images"

However, closing this dialog by pressing the OK button causes the message box to reappear. This behavior continues in a loop until Microsoft Visual Basic is terminated.

NOTE: This only occurs if the arrow keys are used in an attempt to change the image size.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual Basic 5.0.



Steps to Reproduce Problem
 Start a new project in Visual Basic. Form1 is created by default. Add an ImageList control to Form1. Choose the ellipsis (...) button adjacent to the Custom property of the control. Select the Images tab, click the Insert Picture button, and select any picture file. Choose the General tab in the property page and use an arrow key to select an image size. The following message box will appear:

"Property is read-only if imagelist contains images"



Pressing OK causes the message box to reappear in a loop, and Visual Basic has to be shut down from the Windows Task List.

Additional query words: kbVBp400bug kbVBp500fix kbVBp kbdsd kbDSupport kbIDE

Keywords: kbbug kbfix kbvbp500fix KB150207

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.