PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Operating mode
  • Limitation
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
AnimationPlayOnControlProperty (Function)
In French: AnimationJoueSurPropriétéChamp
Animates the modification of an integer property between 2 values. For example, this function can be used to animate the modification of ..X when moving a control or it can be used to animate ..Width when enlarging a control. The animation cannot be interrupted while it is running.
Versions 15 and later
Java This function is now available for the Java applications.
WEBDEV - Browser code This function is now available in Browser code.
New in version 15
Java This function is now available for the Java applications.
WEBDEV - Browser code This function is now available in Browser code.
Java This function is now available for the Java applications.
WEBDEV - Browser code This function is now available in Browser code.
Versions 17 and later
Android This function is now available for the Android applications.
New in version 17
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 20 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 20
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Example
// Animates the modification of control height
AnimationPlayOnControlProperty(EDT_Details, "Height", 16, 200)
Syntax
AnimationPlayOnControlProperty(<Control Name> , <Property Name> , <Start Value> , <End Value> [, <Duration> [, <Type of Animation>]])
<Control Name>: Character string (with or without quotes)
Name of control to use.
<Property Name>: Character string (with quotes)
Name of WLanguage property to animate. The properties currently available are the properties that use integers. For example: ..X, ..Y, ..Width, ..Height, ..Color, ..BrushColor, ..Opacity, ...
<Start Value>: Integer
Initial property value.
<End Value>: Integer
Final property value.
<Duration>: Optional integer or optional Duration
Duration of animation in hundredths of a second. This parameter can correspond to:
  • an integer corresponding to the number of hundredths of a second,
  • a Duration variable,
  • Versions 23 and later
    the indication of duration in clear ('1s' ou '10ms' for example).
    New in version 23
    the indication of duration in clear ('1s' ou '10ms' for example).
    the indication of duration in clear ('1s' ou '10ms' for example).
<Type of Animation>: Optional Integer constant
Versions 15 and later
Characteristics of the animation to play. The possible values are:
animAccelerationThe animation will be played faster and faster.
animDecelerationThe animation will be played slower and slower.
animLinearThe speed of the animation will be constant.

Reports and QueriesWindowsAndroidiPhone/iPadJavaUser code (UMC) This parameter is not available.
New in version 15
Characteristics of the animation to play. The possible values are:
animAccelerationThe animation will be played faster and faster.
animDecelerationThe animation will be played slower and slower.
animLinearThe speed of the animation will be constant.

Reports and QueriesWindowsAndroidiPhone/iPadJavaUser code (UMC) This parameter is not available.
Characteristics of the animation to play. The possible values are:
animAccelerationThe animation will be played faster and faster.
animDecelerationThe animation will be played slower and slower.
animLinearThe speed of the animation will be constant.

Reports and QueriesWindowsAndroidiPhone/iPadJavaUser code (UMC) This parameter is not available.
Remarks

Operating mode

The property goes from <Start Value> to <End Value> during the specified <Duration>. The different steps are displayed to the user.
AndroidiPhone/iPadJava

Limitation

The animation is available for the following properties:
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Browser code WDJS.DLL
Java wd230java.jar
Android wd230android.jar
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment