Skip to main content

TdxCustomSpreadSheet.OnHistoryChanged Event

Enables you to respond to moving history actions between the undo and redo lists.

Declaration

property OnHistoryChanged: TNotifyEvent read; write;

Remarks

This event occurs when the number of actions changes in the undo and/or redo action lists (that is, the History.UndoActionCount and History.RedoActionCount property values) as a result of invoking either the History.Undo or History.Redo procedure.

Use the Sender parameter to refer to the Spreadsheet or Report Designer control that raised the OnHistoryChanged event.

Note

Since the OnHistoryChanged event fires only to response to navigating between the saved spreadsheet document states, you cannot use it to respond to performing new actions within the document.

See Also