AnimationLoop property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool AnimationLoop

Delphi Syntax

AnimationLoop: Boolean

Overview

Refer to Playing an Animation.

Remarks

Controls whether an animation plays continuously.

Setting

Description

TRUE

After the last bitmap in the list, the playback begins again with the first bitmap.

FALSE

After the last bitmap in the list, the playback stops.

When you save an animated GIF file, this value is saved as a global value in the file. For an example showing how to create and save an animated GIF file, refer to Creating and Saving an Animated Gif File for Delphi or Creating and Saving an Animated Gif File for C++ Builder.

See Also

Elements:

AutoAnimate property, AutoAnimationLoop property, AnimationEnable property, OnAnimate event

Topics:

Raster Images: Playing Animated Images