Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Animating an image
  • Animating a text
  • Animating a progress bar
  • Divers
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
Animation is used to manage the animation of an image.
You can:
  • Finding out the current status of animated image or text.
  • Start or stop the animation defined for an image or for a text (start the animation of an animated GIF image for example).
This property applies to the following controls:
  • WindowsAndroidiPhone/iPadWindows Mobile Image controls,
  • WindowsWindows Mobile Button controls,
  • WindowsJava Static controls,
  • Windows Carousel controls,
  • Versions 15 and later
    Windows Progress Bar controls.
    New in version 15
    Windows Progress Bar controls.
    Windows Progress Bar controls.
WINDEV The Property Animation also allows the animation of a text in a Control Label.
Versions 20 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 20
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
WindowsAndroidiPhone/iPadWindows Mobile
// Initialize the Image control with Arrow.GIF (animated GIF)
IMG_Image1 = "C:\Temp\Arrow.gif"
// Start the animation
IMG_Image1.Animation = True
// Initialize the Static control with the following text: "WINDEV is great"
STC_Caption1 = "WINDEV is great"
// Start the animation
LIB_Libellé1.Animation = True

Finding out the current status of animated image or text Hide the details

<Status> = <Control used>.Animation
<Status>: Boolean
  • True if the image or the text found in the control is animated,
  • False otherwise.
<Control used>: Control name
Name of control used.

Starting or stopping the animation Hide the details

<Control used>.Animation = <Animation mode>
<Control used>: Control name
Name of control used.
<Animation mode>: Boolean
  • True to start the animation,
  • False to stop the animation.
WindowsWindows Mobile

Animating an image

To animate the image displayed in the Image control, this image can be:
  • an animated image (animated Gif for example).
  • an image animated by WINDEV. In this case, the type of animation can be chosen in the description window of image ("Details" tab) or by programming with AnimationSetMode.
In a Button control, only an animated image can be associated with a button (Animated Gif, for example).

Animating a text

To animate the text displayed in a Static control, you must choose the animation:
  • in the description window of static control ("Details" tab),
  • by programming with AnimationSetMode.

Animating a progress bar

In a progress bar, the animation is performed during an important variation of the value of progress bar: instead of being immediately positioned on the new value, the progress bar is incremented (or decremented) progressively to get an animation effect.
Remark: this effect is specifically adapted to the circular progress bars.


The animation is set to True by default.
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment