UndoStack

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

An UndoStack manages a stack of undo items and a stack of redo items. Normally, you create an UndoStack for every document in a sequence editor in which you can undo edits to a TestStand file. You receive undo items to push onto an undo stack through the UIMessage.ActiveXData property of a UIMsg_PushUndoItem UI Message. You use the UndoItem.EditedFile property of the undo item to determine onto which document undo stack to push the undo item.

Use the Engine.NewUndoStack method to create an UndoStack object. You typically use UndoStack objects with the ApplicationMgr.UndoStack and SequenceFileViewMgr.UndoStack properties.

Properties

CanRedo (Read Only)
CanUndo (Read Only)
RedoItems (Read Only)
UndoItems (Read Only)

Methods

AggregateTopUndoItems
Clear
GetRedoDescription
GetUndoDescription
Push
Redo
Undo

See Also

ApplicationMgr.UndoStack

Engine.NewUndoStack

SequenceFileViewMgr.UndoStack

UIMessage.ActiveXData

UIMessageCodes

UndoItem.EditedFile

WAS THIS ARTICLE HELPFUL?

Not Helpful