Microsoft KB Archive/316620

= FIX: You cannot use the Undo feature to move controls or components in the Component Tray =

Article ID: 316620

Article Last Modified on 1/23/2006

-

APPLIES TO


 * Microsoft Visual Basic .NET 2002 Standard Edition

-



This article was previously published under Q316620



SYMPTOMS
When you move non-visual controls or components in the Windows Forms Designer Component Tray of the Visual Basic .NET integrated development environment (IDE), the change does not appear to roll back when you click Undo on the Edit menu or press CTRL+Z. When you use the Undo feature the next time, previous changes are undone, though the placement of items in the Windows Forms Designer Component Tray does not change.



STATUS
Microsoft 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 .NET 2003.



Steps to Reproduce the Problem

 * 1) Create a new Visual Basic. NET Windows application. Form1 is created by default.
 * 2) In the Windows Forms toolbox, double-click the ImageList control.
 * 3) Select the new ImageList control. In the Properties window, change the Name property to myImageList.
 * 4) Move myImageList to a new location in the Windows Forms Designer Component Tray.
 * 5) On the Edit menu, click Undo. Notice that myImageList does not return to its previous location.
 * 6) On the Edit menu, click Undo again. Notice that the name of the ImageList control reverts to ImageList1.

Additional query words: cannot undo position unaffected

Keywords: kbbug kbfix kbpending kbvs2002sp1sweep kbvs2005swept kbvs2005doesnotapply KB316620

-

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

© Microsoft Corporation. All rights reserved.