RAD Studio VCL Reference
TList.Notify Method

Responds when items are added, removed, or extracted from the list.

procedure Notify(Ptr: Pointer; Action: TListNotification); virtual;
virtual __fastcall Notify(void * Ptr, TListNotification Action);

Notify is called automatically when the items in the collection change.  

Ptr points to item affected by the change.  

Action indicates the change.  

As implemented in TList, Notify does nothing. Descendant classes can override Notify in order to implement an appropriate response to the change notification. 


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