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

TFieldDataLink.OnDataChange

Event handler signalled when the field data link has been changed.

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

  

Checks whether the 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

  

Event handler signalled when the field data link has been changed.

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


Version 4.0 Generated 2025-05-03 Home