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



The information in this article applies to:

  • Microsoft Visual Basic .NET (2002)

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.

MORE INFORMATION

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.

Modification Type:MinorLast Reviewed:1/23/2006
Keywords:kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbfix kbbug kbpending KB316620