[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 196

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.