PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Operating mode
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.
Versions 15 and later
WEBDEV - Browser code This function is now available in Browser code.
New in version 15
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code This function is now available in Browser code.
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,
  • Versions 23 and later
    duration in a readable format (e.g., '1s' or '10ms').
    New in version 23
    duration in a readable format (e.g., '1s' or '10ms').
    duration in a readable format (e.g., '1s' or '10ms').
<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.

Windows 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.

Windows 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.

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