Sign in Join
FPDoc Onlineexperiment

TList.FPONotifyObservers procedure

Member of TListpublicIn unit Classes

Notify observers of changes in the list.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.