Back to Devexpress

TdxSpreadSheetHistory.Redo(Integer) Method

vcl-dxspreadsheetcore-dot-tdxspreadsheethistory-dot-redo-x28-system-dot-integer-x29.md

latest1.7 KB
Original Source

TdxSpreadSheetHistory.Redo(Integer) Method

Reapplies one or more previously undone actions to the opened document.

Declaration

delphi
procedure Redo(const ARedoCount: Integer = 1);

Parameters

NameType
ARedoCountInteger

Remarks

Call the Undo and Redo procedures to navigate back and forth between recorded document states. Pass a number of consecutive actions to restore as the optional ARedoCount parameter. A Redo procedure call moves recorded actions from redo to the undo action list.

The Ctrl+Y key combination reapplies the last undone action to the document. You can link a custom UI element to the Redo command to provide an additional end-user option.

Note

Every new recorded history action clears the RedoActions list.

See Also

TdxSpreadSheetHistory.RedoActionCount

TdxSpreadSheetHistory.Undo

TdxSpreadSheetHistory Class

TdxSpreadSheetHistory Members

dxSpreadSheetCore Unit