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

# TFieldDataLink.ActiveChanged

ActiveChanged - method to process changes in the Active property.

## Declaration

Source position: dbctrls.pp line 69

`protected procedure TFieldDataLink.ActiveChanged; override;`

## Description

ActiveChanged - method to process changes in the Active property.

Any change to the Active property triggers the ActiveChanged method.

If the method is triggered by a transition into an Active state, then ActiveChanged ensures that this TFieldDataLink's Field is still valid before calling the event handler.

ActiveChanged calls the OnActiveChange event handler if one has been assigned.

## See also

TFieldDataLink.Field |  | The Field to which the datalink is attached.
TFieldDataLink.FieldName |  | FieldName - the name of the attached field, stored as a string.
TFieldDataLink.OnActiveChange |  | OnActiveChange - event handler for a change in the Active property.
TDataLink.DataSource