Sign in Join
FPDoc Onlineexperiment

TCollection.Update procedure

Member of TCollectionprotectedIn unit Classes

Handler called when an item in the collection has changed.

Declaration

pascal
procedure Update(Item: TCollectionItem); virtual

Description

Update is called in the following cases:

  1. An item is added to or removed from the collection.
  2. An item is moved in the list, i.e. its Index property changes.
  3. An item's DisplayName property changes.

Descendant classes can override this method to perform additional actions when the collection changes. The Item parameter indicates the item that was changed. This can be Nil

See also

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