Sign in Join
FPDoc Onlineexperiment

TImageListCache.RegisterListener function

Member of TImageListCachepublicIn unit ImageListCache

Adds a listener for an image list stored in the cache.

Declaration

pascal
function RegisterListener(AListener: IImageCacheListener): Integer

Arguments

AListener

Listener interface added to the internal list.

Function result

Position where the specified listener was stored in the internal list.

Description

RegisterListener is a method used to add the specified cache listener in AListener to the internal list of listener interfaces. If AListener does not already exist in the list, it is added.

RegisterListener is called from the RegisterBitmap method.

See also

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