TdxSpreadSheetUndo Class
An action object that implements the Undo end-user command in spreadsheet-based applications.
Declaration
TdxSpreadSheetUndo = class(
TdxSpreadSheetCustomEditAction
)
Remarks
This class does not introduce any new public members. Its overridden Execute function cancels the last action in the opened spreadsheet document.
UI elements linked to a TdxSpreadSheetUndo
action object are enabled only if the following conditions are met:
- The Spreadsheet document edit operations are allowed (that is, the control’s OptionsBehavior.Editing property is set to
True
). - The history functionality is enabled (the control’s OptionsBehavior.History property is set to
True
). - The undo action list is not empty (that is, the control’s History.UndoActionCount property value is positive).
- An in-place editor is inactive (the active worksheet‘s IsEditing property returns
False
).
Inheritance
See Also