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

# TFieldDataLink.OnActiveChange

OnActiveChange - event handler for a change in the Active property.

## Declaration

Source position: dbctrls.pp line 100

`public property TFieldDataLink.OnActiveChange : TNotifyEvent read FOnActiveChange write FOnActiveChange;`

## Description

OnActiveChange is a TNotifyEvent property which contains the event handler signalled when the value for the Active property has been changed. OnActiveChange is signalled from the ActiveChanged method, and occurs after the Field property has been updated and the OnDataChange event handler has been executed.

Applications can implement and assign an object procedure to the property to allow responding the event notification.

## See also

TFieldDataLink.ActiveChanged |  | ActiveChanged - method to process changes in the Active property.
TFieldDataLink.EditingChanged |  | EditingChanged - method for processing changes in the Editing property.
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.
TDataLink.Active
TNotifyEvent