RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TNotifyList.AddNotify Method

Adds a new object to the list.

Pascal
procedure AddNotify(ANotify: TObject);
C++
__fastcall AddNotify(TObject * ANotify);

Call AddNotify to add an object to the end of the Items property array. This method is called to add objects that want to be informed of changes to the component that uses this list. 

ANotify is the object to add. This object should implement an interface that allows the associated component to inform it of changes. For example, objects in the TNotifyList collection maintained by an adapter support the INotifyAdapterChange interface. 

 

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