PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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 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
Java This function is now available for Java applications.
New in version 15
Java This function is now available for Java applications.
Java This function is now available for Java applications.
Example
// Animates the modification of control height
AnimationPlayOnControlProperty(EDT_Details, "Height", 16, 200)
Syntax
AnimationPlayOnControlProperty(<Control> , <Property> , <Start value> , <End value> [, <Duration>])
<Control>: Control name
Name of control to use.
<Property>: Character string (with quotes)
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' ou '10ms').
    New in version 23
    duration in a readable format (e.g., '1s' ou '10ms').
    duration in a readable format (e.g., '1s' ou '10ms').
Remarks

Operating mode

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

Limitation

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