Skip to main content

TdxCustomSpreadSheet.OnModifiedChanged Event

Allows you to track if the spreadsheet document is modified.

Declaration

property OnModifiedChanged: TNotifyEvent read; write;

Remarks

Handle the OnModifiedChanged event to respond to spreadsheet document changes (for example, save every user change automatically and/or disable or enable certain UI elements).

Event Occurrence

The OnModifiedChanged event occurs every time:

  • Any content change is made in the current spreadsheet document.
  • The Modified property value changes.

Event Parameter

The Sender parameter provides access to the TdxSpreadSheet or TdxSpreadSheetReportDesigner control that raised the OnModifiedChanged event.

Tip

Cast the Sender parameter value to the TdxSpreadSheet or TdxSpreadSheetReportDesigner class to access all public API members.

You can call the Sender.ClassType function or use other RTTI functionality to identify the actual control class.

See Also