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
  • Image control: Available parameters and their values
  • Static Text control: available parameters and their values
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
Reads the value of one of the animation parameters defined for an Image or Static Text control.
Novedad versión 2025
AndroidiPhone/iPadMac Catalyst It is now possible to read the animation parameters used for animated text in a Static Text control.
Java In this version, you can only read the value of the animation parameters defined for a Static Text control.
Ejemplo
Reportes y ConsultasWindowsAndroidiPhone/iPadMac CatalystCódigo de Usuario (UMC)
IF AnimationGetParameter(IMG_Image1, acpLoop) = True THEN
	AnimationSetParameter(IMG_Image1, acpLoop, False)
END
IF AnimationGetParameter(STC_CustomerNameSta, acpColor) = Transparent THEN
	AnimationSetParameter(STC_CustomerNameSta, acpColor, LightYellow)
END
Sintaxis
Reportes y ConsultasWindowsAndroidiPhone/iPadMac CatalystCódigo de Usuario (UMC)

Reading the animation parameters of an image (Image control) Ocultar los detalles

<Result> = AnimationGetParameter(<Image control> , <Parameter name>)
<Result>: Type of expected parameter
Value of sought parameter.
<Image control>: Control name
Name of the Image control to be used.
<Parameter name>: Constant or character string
Name of parameter to read.
acpDirection (or "Direction")Scroll direction.
"Scrolling" animation only.
These parameters can be combined.
1 (default): left to right
2: right to left
4: from bottom to top
8: top to bottom
Example of combination:
3 (2+1): left right: gradual widening from the center
5 (4+1) from bottom to top and from right to left
AndroidiPhone/iPadMac Catalyst This constant is not available.
acpDirectionAlternate (or "DirectionAlternate")Read the image drawings from the first one to the last one, then from the last one to the first one continuously (this parameter is set to False by default).
acpDuration (or "Duration")Amount of time for displaying each drawing of the animation in milliseconds (300 ms by default).
acpLoop (or "Loop")Read the image drawings from the first one to the last one continuously (this parameter is set to True by default).
acpNbImageX (or "NumberOfImagesX")Number of drawings found in the width of image file. Depending on the specified number, the image will be automatically divided into as many drawings as necessary (1 by default).
"Image to animate" animation only.
AndroidiPhone/iPadMac Catalyst This constant is not available.
acpNbImageY (or "NumberOfImagesY")Number of drawings found in the height of image file. Depending on the specified number, the image will be automatically divided into as many drawings as necessary (1 by default).
"Image to animate" animation only.
AndroidiPhone/iPadMac Catalyst This constant is not available.
acpNbStep (or "NumberOfSteps")10 by default
"Scrolling" animation only.
AndroidiPhone/iPadMac Catalyst This constant is not available.
acpReverse (or "Reverse")Read the image drawings from the last one (bottom right) to the first one (top left) (this parameter is set to False by default).

Reading the animation parameters of a static text (Static Text control) Ocultar los detalles

<Result> = AnimationGetParameter(<Static Text control> , <Parameter name>)
<Result>: Type of expected parameter
Value of sought parameter.
<Static Text control>: Control name
Name of the Static Text control to be used.
<Parameter name>: Constant or character string
Name of parameter to read.
acpColor (or "Color")Blinking color. This parameter can correspond to a color constant. This color corresponds to Transparent by default.
"Blinking" animation only.
acpDirection (or "Direction")Scroll direction.
"Scrolling" animation only.
These parameters cannot be combined.
1 (default): left to right
2: right to left
4: from bottom to top
8: top to bottom
acpDuration (or "Duration")Time for displaying each animation element in milliseconds (300 ms by default)
Novedad versión 2025
acpLoop (or "Loop")
Continuous Dequeue (this setting is True by default).
"Scrolling" animation only.
Note: This feature is only available from version 2025 Update 1.
Novedad versión 2025
acpNbLoopMax (or "NombreBoucleMax")
Number of loops for continuous dequeue (0 unlimited number of loops).
"Scrolling" animation only.
Note: This feature is only available from version 2025 Update 1.
acpNbPixel (or "NumberOfPixels")Number of pixels for each scrolling step.
"Scrolling" animation only.
Observaciones
Reportes y ConsultasWindowsAndroidiPhone/iPadMac CatalystCódigo de Usuario (UMC)

Image control: Available parameters and their values

Two types of animations are available for Image controls:
  • Image to animate (animation performed by WINDEV or WINDEV Mobile),
  • Reportes y ConsultasWindowsCódigo de Usuario (UMC) Scrolling.
Parameters common to the different animations
LoopRead the image drawings from the first one to the last one continuously (this parameter is set to True by default).
ReverseRead the image drawings from the last one (bottom right) to the first one (top left) (this parameter is set to False by default).
DirectionAlternateRead the image drawings from the first one to the last one, then from the last one to the first one continuously (this parameter is set to False by default).
DurationAmount of time for displaying each drawing of the animation in milliseconds (300 ms by default).
Parameter specific to the "Image to animate"
NumberOfImagesXNumber of drawings found in the width of image file. Depending on the specified number, the image will be automatically divided into as many drawings as necessary (1 by default).
AndroidiPhone/iPadMac Catalyst This parameter cannot be defined programmatically.
NumberOfImagesYNumber of drawings found in the height of image file. Depending on the specified number, the image will be automatically divided into as many drawings as necessary (1 by default).
AndroidiPhone/iPadMac Catalyst This parameter cannot be defined programmatically.
Parameter specific to "Scrolling"
DirectionScroll direction. These parameters can be combined.
1 (default): left to right
2: right to left
4: from bottom to top
8: top to bottom
Example of combination:
3 (2+1): left right: gradual widening from the center
5 (4+1) from bottom to top and from right to left
NumberOfSteps10 by default.

Static Text control: available parameters and their values

Two types of animations are available for Static Text controls:
  • Blinking,
  • Scrolling.
Parameters common to the different animations.
DurationAmount of time for displaying each drawing of the animation in milliseconds (300 ms by default).
Parameter specific to "Blinking"
ColorBlinking color. This parameter can correspond to a color constant.
This color corresponds to Transparent by default.
Settings specific to "Scrolling"
Novedad versión 2025
Loop
Continuous Dequeue (this parameter corresponds to True by default).

Note: This feature is only available from version 2025 Update 1.
Novedad versión 2025
MaxLoopCount
Number of scroll loops to perform (0 for unlimited scrolling number.

Note: This feature is only available from version 2025 Update 1.
NumberOfPixelsNumber of pixels for each scrolling step.
DirectionScroll direction. These parameters cannot be combined.
1 (default): left to right
2: right to left
4: from bottom to top
8: from top to bottom.
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