Spread 8.0 Documentation
DataChanged Property
Support Options
ActiveX Reference > ActiveX Properties > DataChanged Property

Glossary Item Box

DataChanged Property


See Also

Applies To

fpSpread control

Description

Returns whether data in a bound fpSpread control has been changed by some process other than retrieving data from the current record. This property is available at run time only.

Syntax

C++

BOOL CSpreadSheet::GetDataChanged( );

Visual Basic

[form.]fpSpread.DataChanged

Remarks

The default value for the DataChanged property is False.

This property is returned for the current sheet setting unless you specify another sheet by setting the Sheet property.

If the data in the fpSpread control changes in a way other than moving to a different record and the DAutoSave property is set to True, the control sets its DataChanged property to True when the active cell moves from the cell with changes to another cell. The DataChanged property is set back to False after you move the active cell to another row.

If the DAutoSave property is set to False, the control does not change the value of the DataChanged property to True, and your changes are not saved to the database, unless you use the DataSave method to save the changes to the database.

This property is a custom property provided by the control. This property is similar to, but behaves differently from, the DataChanged property that can be provided by your container, such as Visual Basic.

Data Type

Integer (Boolean)

See Also

DAutoSave, Sheet properties

Change event

DataSave method

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.