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

TObservedHook.DeleteItem

Notifies observers that an item was deleted

Declaration

Source position: fpobserver.pp line 45

public procedure TObservedHook.DeleteItem(

  AItem: TObject

);

Arguments

AItem

  

Item that was deleted

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

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


Documentation generated on: Dec 15 2025