ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
The AnimationDuration property is used to know and define the length of time an animation takes to complete one cycle:
  • in a Chart control. This duration is set to 30 hundredths of a second by default.
  • WINDEVAndroidiPhone/iPadMac Catalyst in an infinite Progress Bar control. This duration is set to 200 hundredths of a second by default.
  • WEBDEV - Server codeWEBDEV - Browser codePHP in an Image Gallery Looper control. This duration is defined in the "General" tab of the image gallery description window.
Example
// Increase timeout
CHART_MyChart.AnimationDuration = 2000
Syntax

Finding out the animation duration Hide the details

<Result> = <Control used>.AnimationDuration
<Result>: Integer
Duration of control animation, in hundredths of a second.
<Control used>: Control name
Name of the control used. This control can be:
  • A Chart control.
  • WINDEVAndroidiPhone/iPadMac Catalyst An infinite Progress Bar control.
  • WEBDEV - Server codeWEBDEV - Browser codePHP An Image Gallery Looper control.

Modifying the animation duration Hide the details

<Control used>.AnimationDuration = <New duration>
<Control used>: Control name
Name of the control used. This control can be:
  • A Chart control.
  • WINDEVAndroidiPhone/iPadMac Catalyst An infinite Progress Bar control.
  • WEBDEV - Server codeWEBDEV - Browser codePHP An Image Gallery Looper control.
<New duration>: Integer ou Duration
New duration for the control animation in hundredths of a second. If this new duration is set to 0, the animation will not be performed anymore.
This parameter can correspond to:
  • an integer corresponding to the number of hundredths of a second,
  • WINDEVWEBDEV - Server codeiPhone/iPadMac Catalyst a Duration variable,
  • WINDEVWEBDEV - Server codeiPhone/iPadMac Catalyst the duration in a readable format (e.g., '1cs' or '10 ms').
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/27/2023

Send a report | Local help