BUG: The resource context for the Image property of multiple controls is changed to a local resource image after you set it to the project resource image in Visual Studio 2005 (913455)
The information in this article applies to:
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Studio 2005 Professional Edition
- Microsoft Visual Studio 2005 Express Edition
- Microsoft Visual Studio 2005 Team System Architect Edition
- Microsoft Visual Studio 2005 Team System Developer Edition
SYMPTOMSConsider the following scenario: - In Microsoft Visual Studio 2005, you open a Microsoft Windows Form.
- You add some controls that have an Image property.
- You select several of these controls, and then set the Image property on all the selected controls to a project resource image.
In this scenario, the resource context for the Image property of these controls is changed to a local resource image. CAUSEThis problem occurs because the project resource setting is not applied when you copy the Image property across multiple selected objects. Instead, the local resource setting is applied to the Image property of each selected object.
WORKAROUNDTo work around this problem, follow these steps: - Select the first control that you added to the Windows Form.
- Set the Image property of this control to a project resource.
- Repeat steps 1 and 2 for each control that you added to the Windows Form.
STATUS Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 2/28/2006 |
---|
Keywords: | kbExpertiseAdvanced kbvs2005std kbvs2005pro kbvs2005exp kbtshoot kbbug KB913455 kbAudDeveloper kbAudITPRO |
---|
|