InsertBitmapListItem method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int InsertBitmapListItem (Cardinal uIndex, TBitmapHandle newBitmap);

Delphi Syntax

InsertBitmapListItem (uIndex: Cardinal; newBitmap: TBitmapHandle): Integer;

Overview

Refer to Bitmaps and Bitmap Lists.

Remarks

Inserts a bitmap into the control's bitmap list. You can get a bitmap to insert by referencing the Bitmap property of another Main Control.

If you insert a bitmap into the middle of a list, the indexes of other items in the list are adjusted.

See Also

Topics:

Raster Images: Creating and Maintaining Lists of Images