Vcl.VirtualImageList.TVirtualImageList.Replace

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Replace(AIndex: Integer; ACollectionIndex: Integer); overload;
procedure Replace(const AName: String; const ACollectionName: String); overload;

C++

HIDESBASE void __fastcall Replace(int AIndex, int ACollectionIndex)/* overload */;
HIDESBASE void __fastcall Replace(const System::UnicodeString AName, const System::UnicodeString ACollectionName)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.VirtualImageList.pas
Vcl.VirtualImageList.hpp
Vcl.VirtualImageList TVirtualImageList

Description

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

Vcl.VirtualImageList.TVirtualImageList.Replace inherits from Vcl.ImgList.TCustomImageList.Replace. All content below this line refers to Vcl.ImgList.TCustomImageList.Replace.

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

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

See Also