PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN

This content has been translated automatically. Click here to view the French version.
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
AnimationPeriod is used to find out and modify the rotation speed of the animation performed in the Cube or Carousel controls. More specifically, this property is used to define the duration of a rotation performed by the control.
Example
CUBE_CUBE1.PeriodAnimation = 2000 // 20 seconds to go around
Syntax

Finding out the animation period of controls Hide the details

<Result> = <Control used>.AnimationPeriod
<Result>: Integer
Duration for a full rotation of the image around the axis in hundredths of a second.
<Control used>: Control name
Name of Cube or Carousel control to use.

Modifying the animation period of controls Hide the details

<Control used>.AnimationPeriod = <New duration>
<Control used>: Control name
Name of Cube or Carousel control to use.
<New duration>: Integer ou Duration
New duration for a full rotation of the image around the axis in hundredths of a second. This parameter can correspond to:
  • an integer corresponding to the number of hundredths of a second,
  • Versions 25 and later
    a Duration variable,
    New in version 25
    a Duration variable,
    a Duration variable,
  • Versions 25 and later
    a clear description of the duration (e.g., '1cs' or '10 ms').
    New in version 25
    a clear description of the duration (e.g., '1cs' or '10 ms').
    a clear description of the duration (e.g., '1cs' or '10 ms').
Remarks
By default, the Cube control completes a full rotation in 350 hundredths of a second (3.5 seconds).
By default, the Carousel control completes a full rotation in 1200 hundredths of a second (12 seconds).
Minimum version required
  • Version 11
Comments
Click [Add] to post a comment