Vcl.ActnMan.TCustomActionManager.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.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TCustomActionManager

Description

Responds to notifications when objects are created or destroyed.

Vcl.ActnMan.TCustomActionManager.Notification inherits from Vcl.ActnList.TCustomActionList.Notification. All content below this line refers to Vcl.ActnList.TCustomActionList.Notification.

Responds to notifications when objects are created or destroyed.

Notification notifies the action list that the component specified by AComponent is about to be inserted or removed, as specified by Operation. By default, components pass along the notification to their owned components, if any.

TCustomActionList overrides Notification to update the Images property when images from the list are destroyed and the Actions property when actions in the list are destroyed.

See Also