[Overview][Types][Classes][Index] Reference for unit 'ImgList' (#lcl)

TCustomImageList.Replace

Replace the indexed image with the Bitmap given

Declaration

Source position: imglist.pp line 206

public procedure TCustomImageList.Replace(

  AIndex: Integer;

  AImage: TCustomBitmap;

  AMask: TCustomBitmap

);

Arguments

AIndex

  

the index of the replaceded image

AImage

  

a bitmap image

AMask

  

a bitmap which defines the transparent parts of Image

Description

AMask can be nil, if the image has no transparent parts.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.