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

TDataSetAction.Notification

Performs a notification when the datasource for the component is removed.

Declaration

Source position: dbactns.pp line 32

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

TDataSetAction.DataSource

  

DataSource with the dataset for the action.


Version 4.0 Generated 2025-05-03 Home