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 an image
  • Animate text in a Static Text control
  • Limits
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The InitialAnimation property determines whether the animation of an Image, Button, Static or Carousel control is enabled when the control is created. The initial status of the animation is defined in the control description window ("Details" tab).
Animation settings
Example
Windows
// Ré-initialiser l'image à l'état initial
IMG_Image1.Animation = IMG_Image1.AnimationInitiale
// Ré-initialiser l'animation du libellé à l'état initial
LIB_Promotions.Animation = LIB_Promotions.AnimationInitiale
Syntax
<Status> = <Control used>.InitialAnimation
<Status>: Boolean
  • True if the animation is enabled in the Image, Button, Carousel or Static Text control when created,
  • False otherwise.
The animation is set to True by default.
<Control used>: Control name
Name of the control used. This control can correspond to:
  • Windows an Image control,
  • Windows a Button control,
  • a Static Text control,
  • Windows a Carousel control.
Remarks
Windows

Animating an image

The image to be animated in the Image control can be:
  • an animated image (animated GIF, for example).
  • an image animated by WINDEV. In this case, the type of animation can be defined in the Image control description window ("Details" tab) or programmatically with the AnimationSetMode function.
Animation of an image in a field Button: Only an animated image can be associated with a field (e.g. Animated GIF).

Animate text in a Static Text control

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.

Limits

The InitialAnimation property applies only to:
  • Windows Image, Button, Static, Progress Bar and Carousel controls in a window.
  • Java Static Text controls in a window.
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