Vcl.DBCtrls.TDBLookupControl.Notification

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupControl

Description

Responds to notifications that components are being created or destroyed.

After calling the inherited class' method, Notification checks whether the notification indicates the removal of DataSource or ListSource. If so, Notification sets the property to nil (Delphi) or NULL (C++).

Derived classes can override Notification method to handle additional notifications, but the inherited class' method should be always be called.

See Also