Application.OnUndoOrRedo Event (Project)

Occurs when a transaction is undone or redone.

Syntax

expression. OnUndoOrRedo( _bstrLabel_, _bstrGUID_, _fUndo_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
bstrLabel Required String Label of the transaction just undone or redone.
bstrGUID Required String GUID of the transaction or NULL.
fUndo Required Boolean True if the transaction was undone or False if it was redone.

Return Value

nothing

Remarks

You can use the OnUndoOrRedo event to manage undo or redo actions that are specified by the global OpenUndoTransaction and CloseUndoTransaction methods.