Show: Delphi
C++
Display Preferences
Vcl.ExtActns.TTabAction.Notification
From XE2 API Documentation
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.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | TTabAction |
Description
Responds when components are created or destroyed.
Vcl.ExtActns.TTabAction.Notification inherits from System.Classes.TBasicAction.Notification. All content below this line refers to System.Classes.TBasicAction.Notification.
Responds when components are created or destroyed.
Do not call the Notification method in an application. Notification is called automatically when the component specified by AComponent is about to be inserted or removed, as specified by Operation.
TBasicAction overrides the Notification method to check whether the component that is the value of the ActionComponent property is about to be freed. If so, it sets the ActionComponent property to nil (Delphi) or NULL (C++).