RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomLabeledEdit.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);

This protected method is called automatically immediately after objects are created and immediately before they are destroyed. TCustomLabeledEdit overrides this method to update the EditLabel property when it receives a notification that the label component is about to be destroyed. 

AComponent is the component that was just created or that is about to be destroyed. 

Operation indicates whether the notification indicates the creation or destruction of AComponent. 

 

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