DeleteBitmapListItems example for Delphi

This example deletes the first five bitmaps from the control's bitmap list. Then, it plays the animation to show that the bitmaps are missing.

{Delete the first five bitmaps.}
Lead1.DeleteBitmapListItems(0, 5); 
{Play the animation without looping.}
Lead1.AnimationLoop := False;
Lead1.AnimationEnable := True;