DeleteBitmapListItems example for Visual J++

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( (short) 0, (short) 5 );

// Play the animation without looping.
LEAD1.setAnimationLoop( false );
LEAD1.setAnimationEnable( true );