IDLitOperation::UndoOperation

Syntax | Return Value | Arguments | Keywords | Version History | See Also

The IDLitOperation::UndoOperation function method is called by the iTool system when the user requests the un-execution of an operation (usually by selecting Undo from the iTool Edit menu or toolbar).

Note
An operation based on the IDLitOperation class must implement this method. See Creating an Operation (iTool Developer's Guide) for details.

Note
If you are creating an operation that acts directly on the data that underlies a visualization, consider using the IDLitDataOperation class rather than the IDLitOperation class. IDLitDataOperation provides additional automation of the Undo and Redo mechanisms.

If this method is implemented for an operation, it should do the following:

Syntax

Result = Obj->[IDLitOperation::]UndoOperation(CommandSet)

Return Value

The return value is 1 if the operation was undone successfully, or zero otherwise.

Arguments

CommandSet

An IDLitCommandSet object that contains all the IDLitCommand objects that were stored during the original execution of the operation.

Keywords

None

Version History

6.0

Introduced

See Also

IDLitOperation::RecordFinalValues, IDLitOperation::RecordInitialValues, IDLitOperation::RedoOperation