im using borland and coding in cpp
i loaded six pictures into an imagelist and iside my timer i loaded them into an image to create an animation , but when i run the programme all my picturess are displayed at once. how can i display 1 picture at a time without have to load a blank picture before i load a new picture.
[load]
// inside timer function
Image1->Picture->Bitmap->LoadFromFile("blank.bmp");
ImageList1->Draw(Image1->Canvas,0,0,i,true);
Image1->Canvas->Refresh();
Image1->Left-=5;
i++;
Label1->Caption=IntToStr(i);
if(i>7)
i=0;
[\load]