AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de animación
  • Changing the type of animation
  • Stopping or restarting an animation
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Changes the type of animation:
  • for a text in a Static Text control.
The parameters specific to the new type can be modified by AnimationSetParameter.
AndroidiPhone/iPad In this version, you can only change the type of animation used for a text in a Static Text control.
Novedad versión 2025
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Ejemplo
// Changes the animation of the IMG_Image1 control
IMG_Image1.Animation = True
AnimationSetMode(IMG_Image1, actScrolling)
// Change the animation parameters of a Static Text control
STC_MyStatic.Animation = True
AnimationSetMode(STC_MyStatic, actBlinking)
AnimationSetParameter(STC_MyStatic, acpDuration, 100)
AnimationSetParameter(STC_MyStatic, acpColor, DarkBlue)
Sintaxis
AnimationSetMode(<Control used> , <Type of animation>)
<Control used>: Control name
Name of the image control or static control to use.
<Type of animation>: Constant or character string
Animation to perform.
actBlinking (or "Blinking")The static is alternately displayed in its default color and in its flashing color.
actScrolling (or "Scrolling")The image (or the text) is displayed progressively, from the right, from the left, and so on.
AndroidiPhone/iPad This constant can be used with the Static Text controls only.
actWinDevAnimation (or "Image to animate")The image is divided into several drawings. Each drawing is displayed successively, giving an illusion of video.
This constant can only be used with Image controls.
AndroidiPhone/iPad This constant is not available.
Observaciones

Changing the type of animation

If the new type corresponds to the current type, the parameters specific to this type are reinitialized with the default parameters.

Stopping or restarting an animation

The animation can be enabled or disabled with the Animation property.
Componente: wd300obj.dll
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

Última modificación: 25/03/2025

Señalar un error o enviar una sugerencia | Ayuda local