AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The AnimationPeriod property is used to get and modify rotation speed of the animation 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.AnimationPeriod = 2000 // 20 seconds to perform a rotation
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 or 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,
  • a Duration variable,
  • the duration in a readable format (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).
Versión mínima requerida
  • Versión 11
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 25/09/2024

Señalar un error o enviar una sugerencia | Ayuda local