ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The NbAnimationSteps property is used to get and specify the number of drawings in the image that defines the animation of a custom infinite Progress Bar control. This image was specified in the editor or via Image.
Example
PROGBAR_Endless1..Image = "MyAnimation.png"
PROGBAR_Endless1.NbAnimationSteps = 10 // 10 images in "MyAnimation.png"
Syntax

Finding out the number of drawings found in the animation Hide the details

<Result> = <Infinite Progress Bar control>.NbAnimationSteps
<Result>: Int
Number of steps defined for animating the infinite Progress Bar control.
<Infinite Progress Bar control>: Control name
Name of the infinite Progress Bar control to use.

Modifying the number of drawings making up the animation Hide the details

<Infinite Progress Bar control>.NbAnimationSteps = <New value>
<Infinite Progress Bar control>: Control name
Name of the infinite Progress Bar control to use.
<New value>: Int
Number of steps to perform for animating the infinite Progress Bar control.
Remarks
  • This property has no effect if the control is native. The control must be a custom infinite Progress Bar control.
  • The image is sliced vertically in "bands" for each animation step.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/25/2024

Send a report | Local help