Skip to content

TList.FPONotifyObservers

Notify observers of changes in the list

Declaration

Source position: classesh.inc line 323

public 
  procedure FPONotifyObservers(ASender: TObject; 
                              AOperation: TFPObservedOperation; 
                              Data: Pointer);

Description

FPONotifyObservers is called to notify observers of changes in the list. The following notifications are sent:

ooAddItem
when a pointer is added. Data is the pointer that is added.
ooDeleteItem
when a pointer is deleted or extracted. Data is the pointer that is deleted or extracted.
ooChange
called when 2 pointers are exchanged.
ooFree
Called when the list is freed.

See also

Name Description
Add
Delete Delete elements (characters) from a string or dynamic array.
Exchange
Extract
FPOAttachObserver
FPODetachObserver