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

TDBImage.Notification

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

Declaration

Source position: dbctrls.pp line 1192

protected procedure TDBImage.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

TComponent.Notification


Version 4.0 Generated 2025-05-03 Home