RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomImageList.ReplaceIcon Method

Replaces an image in the image list with an icon.

Pascal
procedure ReplaceIcon(Index: Integer; Image: TIcon);
C++
__fastcall ReplaceIcon(int Index, TIcon Image);

Use the ReplaceIcon method to replace the Image at the Index position in the image list with a new icon. 

 

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