Sign in Join
FPDoc Onlineexperiment

TDBImage.Notification procedure

Member of TDBImageprotectedIn unit DBCtrls

Handles notifications when a component in the class instance is added or removed.

Declaration

pascal
procedure Notification(AComponent: TComponent; Operation: TOperation)
 ; override

Arguments

AComponent

Component for the notification.

Operation

Operation for the notification.

Description

Notification is an overridden method in TDBImage used to handle the notification received when a component for the control is added or removed. It calls the inherited method on entry.

Notification ensures that the Datasource member is set to Nil when its component is removed from the control. Needed when the data link for the control has been assigned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.