Skip to main content

TdxUndoRedoManager Class

The TdxUndoRedoManager class provides the undo and redo capabilities for the layout control.

Declaration

TdxUndoRedoManager = class(
    TPersistent
)

Remarks

This class allows you to manage a list of operations that can be sequentially undone or redone. In particular, you can perform the following operations using this interface:

  • Determine the number of available redo and undo operations (see the RedoCount and UndoCount properties).

  • Check whether the last redo or undo operation can be performed (see the CanRedo and CanUndo methods).

  • Perform the last redo or undo operation (see the Redo and Undo methods).

  • Clear the buffer of redo and undo operations (see the Clear method).

The TdxUndoRedoManager object is referenced by the control’s UndoRedoManager property.

Inheritance

TObject
TPersistent
TdxUndoRedoManager
See Also