ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Animating a text
  • Miscellaneous
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Animation property lets you manage the animation of an image or text (present in a Static Text control)..
It is possible to:
  • Know the current status of the animated image or text.
  • Start or stop the animation of an image or text (animated GIFs, for example).
This property can be used in the following controls:
  • AndroidiPhone/iPadIOS WidgetMac Catalyst Image controls
  • AndroidiPhone/iPadIOS WidgetMac Catalyst Static Text controls
New in version 2025
AndroidiPhone/iPadMac Catalyst It is now possible to manage the animation of text present in a Label field.
Example
AndroidiPhone/iPadIOS Widget
// Initialisation du champ Image avec Flèche.GIF (GIF animé)
IMG_Image1 = "C:\Temp\Flèche.gif"
// Lancement de l'animation
IMG_Image1.Animation = True
AndroidiPhone/iPad
// Initialisation du champ Libellé avec le texte "WINDEV est formidable"
LIB_Libellé1 = "WINDEV est formidable"
// Lancement de l'animation
LIB_Libellé1.Animation = True
Syntax

Know the current status of the animated image or text Hide the details

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

Starting or stopping the animation Hide the details

<Control used>.Animation = <Animation mode>
<Control used>: Control name
Name of the control used:
  • Image control,
  • Static Text control.
<Animation mode>: Boolean
  • True to start the animation,
  • False to stop the animation.
Remarks
AndroidiPhone/iPad

Animating a text

To animate the text displayed in a Static Text control, you must choose the animation:
  • in the Static Text control description window ("Details" tab),
  • programmatically with the AnimationSetMode function.

Miscellaneous

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

Last update: 09/20/2024

Send a report | Local help