PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Animating an image
  • Animated 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 is used to determine the initial status of an animation in an Image, Button, Static or Carousel control. The initial status corresponds to the animation status defined when describing the control ("Details" tab).
Configure the animation
Example
Windows
// Re-initialize the image to its initial status
IMG_Image1.Animation = IMG_Image1.InitialAnimation
Syntax
<Status> = <Control used>.InitialAnimation
<Status>: Boolean
  • True if the image found in the Image, Button or Carousel control (or the text found in the Static control) is animated at creation,
  • 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

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 defined in the Image control description window ("Details" tab) or through programming with AnimationSetMode.
Animated image in a Button control: Only an animated image can be associated with the control (Animated Gif, for example).
WindowsJava

Animated text in a Static control

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

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