PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


  • Animating an image
  • Animating a text
  • Animating a progress bar
  • Various
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
Animation (Property)
 
..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:
  • WindowsAndroidiPhone/iPadWindows Mobile Image controls
  • WindowsWindows Mobile Button controls
  • WindowsJava Static controls
  • Windows Carousel controls
  • Versiones 15 y posteriores
    Windows Progress Bar controls
    Nueva funcionalidad versión 15
    Windows Progress Bar controls
    Windows Progress Bar controls
WINDEV ..Animation can also be used to animate a text in a Static control.
Versiones 20 y posteriores
iPhone/iPad This property is now available for the iPhone/iPad applications.
Nueva funcionalidad versión 20
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Ejemplo
WindowsAndroidiPhone/iPadWindows Mobile
// Initialize the Image control with Arrow.GIF (animated GIF)
IMG_Image1 = "C:\Temp\Arrow.gif"
// Start the animation
IMG_Image1..Animation = True
WindowsJava
// Initialize the Static control with the following text: "WinDev is great"
STC_Caption1 = "WinDev is great"
// Start the animation
STC_Static1..Animation = True
Sintaxis

Finding out the current status of animated image or text Ocultar los detalles

<Status> = <Control Name>..Animation
<Status>: Boolean
  • True if the image or the text found in the control is animated,
  • False otherwise.
<Control Name>: Character string (with or without quotes)
Name of control used.

Starting or stopping the animation Ocultar los detalles

<Control Name>..Animation = <Animation Mode>
<Control Name>: Character string (with or without quotes)
Name of control used.
<Animation Mode>: Boolean
  • True to start the animation,
  • False to stop the animation.
Observaciones
WindowsWindows 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).
WindowsJava

Animating a text

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

Animating a progress bar

In a progress bar, the animation is performed during an important variation of the value of progress bar: instead of being immediately positioned on the new value, the progress bar is incremented (or decremented) progressively to get an animation effect.
Note: this effect is specifically adapted to the circular progress bars.

Various

The animation is set to True by default.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario