Description

Will save the undoable on top of the Redo stack, update the undoable with the top of the Undo stack, and drop the top of the Undo stack.

This function will fire two events: AboutToUndo and UndoDone.

Return Type

None  

Syntax

object.Undo

The Undo Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McUndoStack.

Exceptions

The operation will fail if the Undo stack is empty.