ImportBitmapList example for C++ Builder

void __fastcall TForm1::btnImportBitmapListClick(TObject *Sender)
{
   if(LEADImage1->BitmapListCount > 0)// There are some bitmaps
   {
      LEADImgList1->ImportBitmapList (LEADImage1->BitmapList, 0, LEADImage1->BitmapListCount, "Imported Bitmap-Text","Imported Bitmap-TextExt");
      // Redraw the control
      LEADImgList1->Refresh();
   }
}