[Overview][Types][Classes][Index] |
Inserts one or more images into the list at the index position.
Source position: imglist.pp line 200
public procedure TCustomImageList.Insert( |
AIndex: Integer; |
AImage: TCustomBitmap; |
AMask: TCustomBitmap |
); |
AIndex |
|
insert position |
AImage |
|
bitmap to insert |
AMask |
|
transparency mask, Nil for opaque |
The inserted bitmap can consist of multiple images, of the same width and height, which become accessible as distinct images in the ImageList.
The height of the inserted images must match the ImageList height, else the ImageList content is replaced by the added images. The width must be a multiple of the ImageList width, so that the list always contains an integral number of images.
If Mask is nil, the inserted images have no transparent parts. Use InsertMasked to insert bitmaps with a specific transparent color.
lazarus-ccr.sourceforge.net |