Skip to content

TObservedHook.CustomNotify

Sends custom notification to all observers

Declaration

Source position: fpobserver.pp line 46

public 
procedure TObservedHook.CustomNotify(Data: Pointer=Nil);

Description

The CustomNotify method sends a custom notification to all observers using the ooCustom operation. Optional data can be passed to provide context for the custom notification.

This method is useful for application-specific notifications that don't fit into the standard change, add item, or delete item categories.

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
FPONotifyObservers Core method to notify all observers about operations