TdxCustomSpreadSheet.Modified Property
Specifies whether the control treats a loaded document as modified.
Declaration
property Modified: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
You can use this property to track and reset a loaded document’s content state. The property value automatically changes to True every time an operation is performed in a loaded document (that includes a worksheet’s CreateCell function calls that expand the content area without any visual changes).
You can set the Modified property to False anytime to reset the content state of the document and make the control treat it as unmodified. This is particularly useful if you need to implement a custom “Save” command that becomes available only when there are unsaved changes in the document.
Note
The OnModifiedChanged event occurs every time the Modified property value changes.
The default Modifed property value is False.