Vcl.DBCtrls.TDBLookupControl.Notification
Delphi
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
C++
virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBLookupControl |
Description
Répond aux notifications spécifiant que des composants vont être créés ou détruits.
Après avoir appelé la méthode de la classe héritée, Notification vérifie si la notification indique la suppression de DataSource ou ListSource. Si c'est le cas, Notification affecte à la propriété la valeur nil (Delphi) ou NULL (C++).
Les classes dérivées peuvent redéfinir la méthode Notification pour gérer d'autres notifications, mais appelez toujours la méthode de la classe héritée.