TdxSpreadSheetHistory.Redo(Integer) Method
Reapplies one or more previously undone actions to the opened document.
Declaration
procedure Redo(const ARedoCount: Integer = 1);
Parameters
Name | Type |
---|---|
ARedoCount | Integer |
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