FMX.MultiResBitmap.TCustomBitmapItem.SetIndex

From RAD Studio API Documentation

Delphi

procedure SetIndex(Value: Integer); override;

C++

virtual void __fastcall SetIndex(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.MultiresBitmap.pas
FMX.MultiResBitmap.hpp
FMX.MultiResBitmap TCustomBitmapItem

Description

Moves the collection item to a specified position in the parent collection. {{#multireplace:FMX.MultiResBitmap.TCustomBitmapItem.SetIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TCollectionItem.SetIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TCollectionItem.SetIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Moves the collection item to a specified position in the parent collection.

SetIndex is the protected write implementation of the Index property. The Value parameter specifies the new (0-based) position for the item in its parent collection.

See Also