Sign in Join
FPDoc Onlineexperiment

TDataSetAction.Notification procedure

Member of TDataSetActionprotectedIn unit DBActns

Performs a notification when the datasource for the component is 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 procedure used to perform a notification message when the specified component is removed. AComponent contains the component for the notification message. Operation contains the operation for the notification message.

Notification calls the inherited method. When Operation contains the value opRemove and AComponent contains the same class instance as the DataSource property, the DataSource property is set to Nil.

See also

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