PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Animating an image
  • Various
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Animation is used to manage the animation of an image.
You can:
  • Finding out the current status of animated image or text.
  • Start or stop the animation defined for an image or for a text (start the animation of an animated GIF image for example).
This property applies to the following controls:
  • AndroidiPhone/iPadWindows Mobile Image controls,
  • Windows Mobile Button controls,
Versions 20 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 20
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Example
AndroidiPhone/iPadWindows Mobile
// Initialize the Image control with Arrow.GIF (animated GIF)
IMG_Image1 = "C:\Temp\Arrow.gif"
// Start the animation
IMG_Image1..Animation = True
Syntax

Finding out the current status of animated image or text Hide the details

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

Starting or stopping the animation Hide the details

<Control used>..Animation = <Animation mode>
<Control used>: Control name
Name of control used.
<Animation mode>: Boolean
  • True to start the animation,
  • False to stop the animation.
Remarks
Windows Mobile

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 chosen in the description window of image ("Details" tab) or by programming with AnimationSetMode.
In a Button control, only an animated image can be associated with a button (Animated Gif, for example).

Various

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