Help / WLanguage / WLanguage functions / Controls, pages and windows / Animation functions / Animation of controls
  • Operating mode
  • Limitation
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Animates the modification of an integer property between 2 values.
For example, this function animates the modification of the X property to move a control or animates the Width property to resize a control. The animation cannot be interrupted while it is running.
// Animates the modification of control height
AnimationPlayOnControlProperty(EDT_Details, "Height", 16, 200)
AnimationPlayOnControlProperty(<Control> , <Property> , <Start value> , <End value> [, <Duration> [, <Type of animation>]])
<Control>: Control name
Name of the control to be used.
<Property>: Character string
Name of the WLanguage property to animate. The properties currently available are the properties that use integers. For example: X, Y, Width, Height, Color, BackgroundColor, 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,
  • duration in a readable format (e.g., '1s' or '10ms').
<Type of animation>: Optional Integer constant
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.

AndroidiPhone/iPad This parameter is not available.

Operating mode

The property goes from <Start value> to <End value> during the specified <Duration>. The different steps are displayed to the user.


The animation is available for the following properties:
Business / UI classification: UI Code
Component: wd270obj.dll
Minimum version required
  • Version 14
This page is also available for…
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help