Hi
Yes Fersis the current bitmap was 10 prior to delete.
I get the same result if the deletebitmap(10) follows the setcurrentbitmap(0) unless there are some other time consuming events between them.
I will try to recreate the problem on a small app later,(boss says work), but the segment that is causing me problems is
i=1;
while(i<11){
if (dbBitmapExist(10){dbDeleteBitmap(10);}
dbCreateBitmap(10);
dbSetCurrentBitmap(10);
dbCopyBitmap(9,10);
//draw on 10
dbGetImage(i)
}
dbSetCurrentBitmap(0);
if (dbBitmapExist(10){dbDeleteBitmap(10);}
tests if bitmap(10) exitscreates a bitmap, copies an existing bitmap into it, getImage then deletes the bitmap
uff