Microsoft KB Archive/827504

= You cannot use the Undo command to undo an action in your UML Model Diagram template in Visio Professional 2007 and in Visio Professional 2003 =

Article ID: 827504

Article Last Modified on 11/10/2006

-

APPLIES TO


 * Microsoft Office Visio Professional 2007
 * Microsoft Office Visio Professional 2003

-





SYMPTOMS
In Microsoft Office Professional Visio 2003 and in Microsoft Office Professional Visio 2007, when you use the Unified Modeling Language (UML) Model Diagram template to create a UML model diagram, you may find that in certain situations you cannot reverse a change that you made to your diagram by using the Undo command. You experience the following symptoms when you try to undo an action:
 * The Undo command on the Edit menu is unavailable (appears dimmed) and is displayed as Can't Undo instead of Undo .
 * When you use a keyboard shortcut and press CTRL+Z to undo an action, nothing happens.



CAUSE
This problem may occur if both of the following conditions are true:
 * You use the UML Model Diagram solution to create a UML model diagram.
 * You undo an action that involves one of the following shapes:
 * The Package shape in the UML Deployment stencil.
 * The Composite State shape in the UML Statechart stencil.
 * The Package shape or the Subsystem shape in the UML Static Structure stencil.
 * The Package shape in the UML Use Case stencil.

In this situation, you cannot undo a change that you made to your diagram after you undo an action that involves one of the shapes in the UML stencils in the list. When you undo an action that involves one of the shapes in the list, the previous actions that you performed are incorrectly removed from the list of actions that you can undo. As a result, you experience the symptoms that are described earlier in the &quot;Symptoms&quot; section of this article when you try to undo an action.



WORKAROUND
To work around this problem, do not use the Undo command to undo the change that you made to the diagram. Instead, manually perform the action that you require. For example, if you added a shape to your drawing and you want to undo this action, manually delete the shape from your drawing page.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information about Visio, visit the following Microsoft Web site:

http://www.microsoft.com/office/visio

Additional query words: vso2007 vso2003

Keywords: kbpending kbbug KB827504

-

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

© Microsoft Corporation. All rights reserved.