RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomActionList.Notification Method

Responds to notifications when objects are created or destroyed.

Pascal
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
C++
virtual __fastcall Notification(TComponent * AComponent, TOperation Operation);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!