Vcl.VirtualImageList.TVirtualImageList.Replace

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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 */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
Vcl.VirtualImageList.pas
Vcl.VirtualImageList.hpp
Vcl.VirtualImageList TVirtualImageList

Beschreibung

Ersetzt ein Bild in der Bilderliste durch ein neues Bild und eine neue Maske.

Vcl.VirtualImageList.TVirtualImageList.Replace erbt von Vcl.ImgList.TCustomImageList.Replace. Der folgende Inhalt bezieht sich auf Vcl.ImgList.TCustomImageList.Replace.

Ersetzt ein Bild in der Bilderliste durch ein neues Bild und eine neue Maske.

Mit der Methode Replace können Sie das Bild an der Position Index in der Bilderliste durch ein neues Bild und eine Overlay-Maske ersetzen.

Siehe auch