Vcl.ImgList.TCustomImageList.ReplaceIcon

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReplaceIcon(Index: Integer; Image: TIcon);

C++

void __fastcall ReplaceIcon(int Index, Vcl::Graphics::TIcon* Image);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.ImgList.pas
Vcl.ImgList.hpp
Vcl.ImgList TCustomImageList

Description

Replaces an image in the image list with an icon.

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

See Also