Skip to content

TObservedHook.DeleteItem

Notifies observers that an item was deleted

Declaration

Source position: fpobserver.pp line 45

public 
procedure TObservedHook.DeleteItem(AItem: TObject);

Description

The DeleteItem method sends an item deletion notification to all observers using the ooDeleteItem operation. The deleted item is passed as the data parameter.

This notification is typically used by collection-like objects to inform observers when items are removed from the collection.

See also

Name Description
AddItem Notifies observers that an item was added
Changed Notifies all observers that the object has changed
CustomNotify Sends custom notification to all observers
FPONotifyObservers Core method to notify all observers about operations