RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.Notification Method

Responds to notifications that components are about to be created or destroyed.

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

After calling the inherited method, Notification checks whether the image list specified by the LargeImages, SmallImages, or StateImages property is about to be destroyed. If so, Notification sets the appropriate property to nil (Delphi) or NULL (C++). 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!