Unit 'fpobserver' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

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

);

Arguments

ASender

  

Object sending the notification

AOperation

  

Type of operation that occurred

Data

  

Additional data associated with the operation

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

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


Documentation generated on: Dec 15 2025