Vcl.StdCtrls.TCustomLabel.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.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomLabel |
Description
Répond aux notifications quand des objets vont être créés ou détruits.
Notification est appelée automatiquement quand des composants sont créés ou détruits. Après avoir appelé la méthode héritée, Notification vérifie si le contrôle fenêtré spécifié par la propriété FocusControl est sur le point d'être détruit. Si ce contrôle est en train de disparaître, Notification affecte à la propriété FocusControl la valeur nil (Delphi) ou NULL (C++).