Unit 'DBCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TFieldDataLink.OnDataChange

OnDataChange - event handler for a change in the data.

Declaration

Source position: dbctrls.pp line 97

public property TFieldDataLink.OnDataChange : TNotifyEvent
  read FOnDataChange
  write FOnDataChange;

Description

OnDataChange is a TNotifyEvent property which contains the event handler signalled when the DataSource or Field has been changed in the class instance. OnDataChange is normally signalled from the DataChange method in a data-aware control which has been assigned to the event handler when the control was initialized. It is also signalled from the Reset method which cancels field updates for the control.

See OnUpdateData for the event handler signalled when pending edits are written to the linked DataSet. See EditingChanged for the event handler signalled for pending changes to the DataSource, Field, or FieldName properties.

See also

TFieldDataLink.Field

  

The Field to which the datalink is attached.

TFieldDataLink.Reset

  

Reset - checks that link is active, calls the OnDataChange event handler then sets IsModified to False.

TFieldDataLink.OnUpdateData

  

OnUpdateData - event handler for updating any pending changes in the data.

TFieldDataLink.OnEditingChange

  

OnEditingChange - event handler for a changed in the Editing property.

TFieldDataLink.OnDataChange

  

OnDataChange - event handler for a change in the data.

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.

TDataLink.DataSet

TDataLink.DataSource

TNotifyEvent