Sign in Join
FPDoc Onlineexperiment

TImageListCache.UnregisterListener procedure

Member of TImageListCachepublicIn unit ImageListCache

Removes the specified cache listener from the internal list.

Declaration

pascal
procedure UnregisterListener(AListener: IImageCacheListener)

Arguments

AListener

Cache listener removed from the list.

Description

UnregisterListener is a method used to remove the specified cache listener from the internal list in the class instance. If AListener exists in the interface list, the UnregisterBitmaps method is called and the listener is removed from the list.

When the number of listeners in the list reaches 0, the TImageListCache singleton used for the image list cache is set to Nil.

See also

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