Vcl.ComCtrls.TToolBar.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.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolBar

Description

Responds to a notification that a component has been added or is about to be deleted.

Notification is called automatically when a component has just been added to the form or is about to be deleted.

AComponent is the component that was just added or that is about to be deleted.

Operation indicates whether AComponent was added or is about to be deleted.

As implemented in TToolBar, Notification checks whether the image list that is the value of the Images, HotImages, or DisabledImages property is about to be deleted. If so, it resets the property to nil (Delphi) or NULL (C++).

See Also