TdxSpreadSheetHistoryAction Class
The base class for all classes that implement recorded history actions in an opened spreadsheet document.
Declaration
TdxSpreadSheetHistoryAction = class(
TObject
)
Remarks
A history action reflects the difference between two spreadsheet document states and stores the current selection and one or more commands that correspond to individual content changes.
The TdxSpreadSheetHistoryAction class has the following members that allow you to:
Obtain the action’s description (Description).
Roll back all change commands in the recorded action and return to the previous document state (Undo).
Reapply all change commands in the recorded action to the opened document (Redo).
TdxSpreadSheetHistoryAction class descendants override the Description property’s getter to return action-specific descriptions.
A spreadsheet control’s History.UndoActions and History.RedoActions properties reference a TdxSpreadSheetHistoryAction object.