Skip to main content

TdxSpreadSheetHistory.UndoActions Property

Provides indexed access to the recorded history actions that you can undo.

Declaration

property UndoActions[Index: Integer]: TdxSpreadSheetHistoryAction read;

Property Value

Type
TdxSpreadSheetHistoryAction

Remarks

Every time the opened document’s content changes, the spreadsheet control records this action to the UndoActions list if it is unlocked. An Undo procedure call rolls back the effects of the last recorded action and moves it from UndoActions to the RedoActions list.

Pass an index as the Index parameter to access the corresponding action in the list. The index must be less than the UndoActionCount property value.

Note

A positive MaxActionCount property value sets the maximum size limit for the UndoActions list. The MaxActionCount property setter deletes excessive actions from the undo list if the property value decreases at runtime.

See Also