RefBitmapList example for C++ Builder
//Tell LEADRasterView2 to "steal" the bitmap list from LEADRasterView1
LEADRasterView2->Raster->RefBitmap List= True;
//move the bitmap list from LEADRasterView1 to LEADRasterView2
LEADRasterView2->Raster->BitmapList = LEADRasterView1->Raster->BitmapList;
//restore the default value for RefBitmapList
LEADRasterView2->Raster->RefBitmapList = False;
//for safety, let LEADrasterview1 know that its list has been emptied
LEADRasterView1->Raster->BitmapList= 0;