Vcl.DBCtrls.TDBEdit.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 TDBEdit

Description

Overrides the inherited method to respond to opRemove notifications on the DataSource.

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

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

Note: Notification is a protected method. Applications can't call it directly.

See Also