RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomImageList.Replace Method

Replaces an image in the image list with a new image and mask.

Pascal
procedure Replace(Index: Integer; Image: TBitmap; Mask: TBitmap);
C++
__fastcall Replace(int Index, TBitmap Image, TBitmap Mask);

Use the Replace method to replace the image at the Index position in the image list with a new Image and overlay Mask

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!