Vcl.ComCtrls.TToolButton.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 TToolButton

Description

Responds to notifications that components are being created or destroyed.

Notification allows TToolButton to update its DropdownMenu or MenuItem property when the menu or menu item to which it refers is destroyed.

Override the Notification method to respond to notifications that other components are about to be destroyed or have just been created.

See Also