ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Animation functions / Animation of controls
  • Operating mode
  • Limitation
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
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.
Example
// Animates the modification of control height
AnimationPlayOnControlProperty(EDT_Details, "Height", 16, 200)
Syntax
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.

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:
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help