Sign in Join
FPDoc Onlineexperiment

TObservedHook.AddItem procedure

Member of TObservedHookpublicIn unit fpObserver

Notifies observers that an item was added

Declaration

pascal
procedure AddItem(AItem: TObject)

Arguments

AItem

Item that was added

Description

The AddItem method sends an item addition notification to all observers using the ooAddItem operation. The added item is passed as the data parameter.

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

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.