RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TNotifyList Class

TNotifyList is a collection of objects that should be notified of changes.

Pascal
TNotifyList = class(TObject);
C++
class TNotifyList : public TObject;

SiteComp

TNotifyList maintains a list of objects that have registered interest in change notifications. This class is used for a helper object on components that support the INotifyList interface. When objects use the INotifyList interface to register interest in change notifications, the component adds them to its TNotifyList instance. When those objects use the INotifyList interface to unregister their interest, they are removed from the TNotifyList instance. 

When the object that uses TNotifyList changes, it sends a notification to every object in the list. For example, when an adapter changes, it obtains an INotifyAdapterChange interface from every object in the list. It uses this interface to call the object's NotifyAdapterChange method. 

 

TCustomAdapter 

INotifyAdapterChange 

INotifyList

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