Sign in Join
FPDoc Onlineexperiment

IFPObserved.FPONotifyObservers procedure

Member of IFPObservedIn unit Classes

Notify all observers.

Declaration

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

Description

FPONotifyObservers notifies all observers of the object that a change has occurred. It calls FPOObservedChanged on the IFPObserver interface of all attached objects, and passes on ASender (normally this is Self), AOperation and Data. What Data is, depends on the implementor of the interface.

There is no guaranteed order in which the change notifications are delivered to the observers. This is an implementation-specific detail, which should not be relied upon in any way.

See also

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