PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • 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
Example
Windows
// Reset the image to its initial state
IMG_Image1.Animation = IMG_Image1.InitialAnimation
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 AnimationSetMode.
Animate an image in a Button control: Only an animated image can be associated with the control (Animated GIF, for example).
WindowsJava

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.
  • Java Static controls in a window.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment