ComponentOne List 8.0 for ActiveX
DataChanged Property (TDBCombo)

 

TDBCombo Reference> TDBCombo Control Properties> DataChanged Property (TDBCombo)

DataChanged Property (TDBCombo)

Syntax

object.DataChanged= boolean

Remarks

Read/Write at run time. Not available at design time.

Property applies to TDBList and TDBCombo controls.

The DataChanged property returns or sets a value indicating that the data in a TDBList or TDBCombo control has been modified. If True, the data in the control differs from the data in the current record. If False (the default), the data in the control has not been changed.

When the user modifies the data in a TDBList or TDBCombo control, or you set its Text property in code, the DataChanged property is set to True. Subsequently, when the data source control attempts to move to a different record, it first updates the changed value to the underlying data source.

You can set the DataChanged property to False to prevent the underlying data source from being updated in this manner. For the intrinsic Data control, this is typically done in the Validate (Visual Basic) control event.

See Also

TDBList and TDBCombo Controls

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback