[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TFieldDataLink.Modified

Updates the class when the linked dataset enters an edit state.

Declaration

Source position: dbctrls.pp line 81

public procedure TFieldDataLink.Modified;

Description

Modified is a procedure which updates the class when the linked dataset is placed in an edit state. Modified sets the value in the internal IsModified member to True to track the state change independent of the real state for the linked dataset.

The EditingChanged, UpdateData, and Reset methods reverse the action performed in Modified.

Modified is used in the implementation of methods in data-aware controls, and generally occurs just prior to calling the Change method to signal an update to the value for the control.

See also

TFieldDataLink.EditingChanged

  

EditingChanged - method for processing changes in the Editing property.

TFieldDataLink.UpdateData

  

Signals the OnUpdateData event handler for pending changes to the linked dataset.

TFieldDataLink.Reset

  

Checks whether the link is active, calls the OnDataChange event handler then sets IsModified to False.

TDBEdit.Change

  

Performs actions needed when the value for the control has been changed.

TDBImage.Change

  

Notifies the linked dataset when the value in the control is changed.

TDBMemo.Change

  

Performs actions needed when the value for the control has been changed.


Version 4.0 Generated 2025-05-03 Home