PC SOFT

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

  • Image control: Available parameters and their values
  • Static control: Available parameters and their values
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
AnimationGetParameter (Function)
 
Reads the value of one of the animation parameters defined for an Image control or for a Static control.
AndroidiPhone/iPadWindows Mobile In this version, you can only read the value of the animation parameters defined for an Image control.
Java In this version, you can only read the value of the animation parameters defined for a Static control.
Versiones 20 y posteriores
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Nueva funcionalidad versión 20
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Ejemplo
Reportes y ConsultasWindowsAndroidiPhone/iPadWindows MobileCódigo de Usuario (UMC)
IF AnimationGetParameter(IMG_Image1, "Loop") = True THEN
AnimationSetParameter(IMG_Image1, "Loop", False)
END
Reportes y ConsultasWindowsJavaCódigo de Usuario (UMC)
IF AnimationGetParameter(STC_CustomerNameSta, "Color") = Transparent THEN
AnimationSetParameter(STC_CustomerNameSta, "Color", LightYellow)
END
Sintaxis
Reportes y ConsultasWindowsAndroidiPhone/iPadWindows MobileCódigo de Usuario (UMC)

Reading the animation parameters of an image Ocultar los detalles

<Result> = AnimationGetParameter(<Image Control> , <Parameter Name>)
<Result>: Type of expected parameter
Value of sought parameter.
<Image Control>: Control name
Name of Image control to use.
<Parameter Name>: Constant or character string (with quotes)
Name of parameter to read.
acpTwoWays (or "Two-Ways")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).
acpLoop (or "Loop")Read the image drawings from the first one to the last one continuously (this parameter is set to True by default).
acpDuration (or "Duration")Time for displaying each animation drawing in milliseconds (300 ms by default).
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).
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/iPad 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/iPad This constant is not available.
acpNbStep (or "NumberOfSteps")10 by default
"Scrolling" animation only.
AndroidiPhone/iPad This constant is not available.
acpDirection (or "Direction")Scroll direction.
"Scrolling" animation only.
These parameters can be combined.
1 (by default): from left to right
2: from right to left
4: from bottom to top
8: from top to bottom
Example of combination:
3 (2+1): left right: progressive enlargement from the center
5 (4+1) from bottom to top and from right to left
AndroidiPhone/iPad This constant is not available.
Reportes y ConsultasWindowsJavaCódigo de Usuario (UMC)

Reading the animation parameters of a static control Ocultar los detalles

<Result> = AnimationGetParameter(<Static Control> , <Parameter Name>)
<Result>: Type of expected parameter
Value of sought parameter.
<Static Control>: Control name
Name of Static control to use.
<Parameter Name>: Constant or character string (with quotes)
Name of parameter to read.
acpDuration (or "Duration")Time for displaying each animation element in milliseconds (300 ms by default)
acpColor (or "Color")Flashing color. This parameter can correspond to a color constant. This color corresponds to Transparent by default.
"Flashing" animation only.
acpNbPixel (or "NumberOfPixels")Number of pixels for each scrolling step.
"Scrolling" animation only.
acpDirection (or "Direction")Scroll direction.
"Scrolling" animation only.
These parameters cannot be combined.
1 (by default): from left to right
2: from right to left
4: from bottom to top
8: from top to bottom
Observaciones
Reportes y ConsultasWindowsAndroidiPhone/iPadWindows MobileCódigo de Usuario (UMC)

Image control: Available parameters and their values

Two types of animations are available for the Image control:
  • Image to animate (animation performed by WINDEV or WINDEV Mobile),
  • Reportes y ConsultasWindowsWindows MobileCó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).
TwoWaysRead 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).
DurationTime for displaying each animation drawing 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/iPad This parameter cannot be defined by programming.
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/iPad This parameter cannot be defined by programming.
Parameter specific to "Scrolling"
DirectionScroll direction. These parameters can be combined.
1 (by default): from left to right
2: from right to left
4: from bottom to top
8: from top to bottom
Example of combination:
3 (2+1): left right: progressive enlargement from the center
5 (4+1) from bottom to top and from right to left
NumberOfSteps10 by default.
Reportes y ConsultasWindowsJavaCódigo de Usuario (UMC)

Static control: Available parameters and their values

Two types of animations are available for the static control:
  • Blinking,
  • Scrolling.
Parameters common to the different animations.
DurationTime for displaying each animation drawing in milliseconds (300 ms by default).
Parameter specific to "Blinking"
ColorFlashing color. This parameter can correspond to a color constant.
This color corresponds to Transparent by default.
Parameter specific to "Scrolling"
NumberOfPixelsNumber of pixels for each scrolling step.
DirectionScroll direction. These parameters cannot be combined.
1 (by default): from left to right
2: from right to left
4: from bottom to top
8: from top to bottom.
Componente : wd250obj.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