InsertAt method (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

int __fastcall InsertAt(LEADTyp::TBitmapHandle Bitmap, System::AnsiString sText, int Data, int nIndex);

Delphi Syntax

Function InsertAt(Bitmap : TBitmapHandle; sText: String; Data: Integer; nIndex: Integer): Integer;

Overview

Refer to Using the ImageList Control.

Remarks

Inserts a new item into the ImageList Control at the specified index. All items past nIndex are pushed up one position. The index is zero-based.

See Also

Elements:

Item property, Insert method, Remove method, Count property, Sort method, InsertFromBitmapList method, LoadFromFile method, SaveToFile method

Topics:

Raster Images: Displaying Images