TdxSpreadSheetHistory.Undo(Integer) Method
In This Article
Reverses the effects of one or more actions made in the opened spreadsheet document.
#Declaration
Delphi
procedure Undo(const AUndoCount: Integer = 1);
#Parameters
Name | Type |
---|---|
AUndo |
Integer |
#Remarks
Call the Undo
and Redo procedures to navigate back and forth between recorded document states. Pass a number of consecutive actions to undo as the AUndoCount
parameter. An Undo
procedure call moves recorded actions from undo to the redo action list.
The Ctrl+Z and Alt+Backspace key combinations roll back the last recorded action. You can link a custom UI element to the Undo command to provide an additional end-user option.
Note
Enclose the code that performs a large series of document changes between Begin
See Also