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 control
  • Limitations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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
New in version SaaS
AndroidiPhone/iPad This property is only available for Label fields.
New in version SaaS
Android This property is now available for Android applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
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 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 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.
Animate an image in a Button control: Only an animated image can be associated with the control (Animated GIF, for example).

Animate text in a Static control

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

Limitations

The InitialAnimation property applies only to:
  • Windows Image, Button, Static, Progress Bar and Carousel controls in a window.
  • AndroidiPhone/iPadJava Static controls in a window.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/16/2024

Send a report | Local help