PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Image control: Available parameters and their values
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
AnimationGetParameter (Function)
In french: AnimationLitParamètre
Reads the value of one of the animation parameters defined for an Image or Static control.
AndroidiPhone/iPadMac Catalyst In this version, you can only read the value of the animation parameters defined for an Image control.
Versions 20 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
New in version 20
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
Example
AndroidiPhone/iPadMac Catalyst
IF AnimationGetParameter(IMG_Image1, "Loop") = True THEN
AnimationSetParameter(IMG_Image1, "Loop", False)
END
Syntax
AndroidiPhone/iPadMac Catalyst

Reading the animation parameters of an image (Image control) Hide the details

<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 use.
<Parameter name>: Constant or character string
Name of parameter to read.
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).
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/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.
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/iPadMac Catalyst This constant is not available.
Remarks
AndroidiPhone/iPadMac Catalyst

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),
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).
Duration Time 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/iPadMac Catalyst This parameter cannot be defined through 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/iPadMac Catalyst This parameter cannot be defined through 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.
Component: wd270obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment