Skip to content

TObservedHook.FPONotifyObservers

Core method to notify all observers about operations

Declaration

Source position: fpobserver.pp line 47

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

Description

The FPONotifyObservers method is the central notification mechanism that calls the FPOObservedChanged method on all attached observers.

This method is used internally by all other notification methods and can be called directly for custom notification scenarios. The operation parameter specifies the type of change that occurred.

The method iterates through the observer list in reverse order to handle observers that might detach themselves during notification.

See also

Name Description
AddItem Notifies observers that an item was added
DeleteItem Notifies observers that an item was deleted
Changed Notifies all observers that the object has changed
CustomNotify Sends custom notification to all observers