PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
AnimationDirectionAlernate (Property)
In french: AnimationAllerRetour
Warning
From version 26, TwoWayAnimation is kept for backward compatibility. This property is replaced by AnimationDirectionAlernate.
The AnimationDirectionAlernate property allows you to:
  • Check whether the animation in an infinite Progress Bar control is played forwards first, then backwards.
  • Configure the animation in an infinite Progress Bar control to be played forwards first, then backwards.
Example
PROGBAR_Endless1.Image = "Wheel.png"
PROGBAR_Endless1.NbAnimationSteps = 36
PROGBAR_Endless1.AnimationDirectionAlernate = True
Syntax

Checking whether the animation is played forwards first, then backwards Hide the details

<Result> = <Progress Bar control>.AnimationDirectionAlernate
<Result>: Boolean
  • True if the animation in the Progress Bar control is played in alternate cycles,
  • False if the animation in the Progress Bar control is played forwards only.
<Progress Bar control>: Control name
Name of the infinite Progress Bar control to use.

Configuring the animation to be played in alternate cycles or forwards only Hide the details

<Progress Bar control>.AnimationDirectionAlernate = <New value>
<Progress Bar control>: Control name
Name of the infinite Progress Bar control to use.
<New value>: Boolean
  • True to play the animation in alternate cycles.
  • False to play the animation forwards only.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment