Sign in Join
FPDoc Onlineexperiment

TCustomImageList.HasOverlays property

Member of TCustomImageListpublicIn unit ImgList

Indicates if any images in the list have been used as an overlay image.

Declaration

pascal
property HasOverlays: Boolean read fHasOverlays;

Description

HasOverlays is a read-only Boolean property that indicates if any images in the list have been designated as an overlay image. The value in HasOverlays is updated when the Overlay method is used to store an image index to a position the internal overlays array.

The value in HasOverlays can be used to determine the correct drawing method to call when drawing an image in the image list; Draw when HasOverlays is False, DrawOverlay when HasOverlays is True.

Use ClearOverlays to reset the image assignments made in the Overlay method.

See also

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