ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Infinite Progress Bar control
  • Overview of the infinite Progress Bar control
  • Creating an infinite Progress Bar control
  • Characteristics of infinite Progress Bar controls
  • Operating mode of the infinite Progress Bar control
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview of the infinite Progress Bar control
Progress bars provide useful information to the end user.
Sometimes, it is not possible to predict the duration of a process and therefore display a progress bar corresponding to the progress status.
An infinite Progress Bar control can be used in this case. This type of progress bar displays an endless animation.
Examples of 'infinite' progress bars
Examples of "infinite" progress bars
Creating an infinite Progress Bar control
To create an infinite Progress Bar control:
  1. On the "Creation" tab, in the "Graphic controls" group, expand "Progress bar" and select an infinite progress bar.
  2. Click at the desired location to create the control. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu.
Characteristics of infinite Progress Bar controls
You can define the type of infinite progress bar in the "General" tab of the description window:
  • Native linear.
  • iPhone/iPad Native circular.
  • Custom image. In this case, you can specify the following elements in the editor or programmatically:
    • the image used.
      Through programming, this option corresponds to the Image property.
    • the number of animation steps.
      Windows Through programming, this option corresponds to the NbAnimationSteps property.
    • the duration of the animation
      Through programming, this option corresponds to the AnimationDuration property.
    • if the animation must play forwards first, then backwards.
      WindowsiPhone/iPad Through programming, this option corresponds to the AnimationDirectionAlernate property.
iPhone/iPad Remarque: You can change the color of the native ProgressBar using the ProgressBarColor property..
Operating mode of the infinite Progress Bar control
An infinite progress bar is a progress bar that never stops.
To use an infinite progress bar in an application, we advise you to create an infinite Progress Bar control then to make it visible or invisible (Visible) according to the needs.
Note: The infinite ProgressBar is animated in the application's main thread.. The animation stops if the main thread is locked by a long process. The process associated with the infinite progress bar must:
  • be performed in a secondary thread.
  • be an asynchronous process.
Related Examples:
The Progress Bar control Unit examples (WINDEV): The Progress Bar control
[ + ] Using a Progress Bar control.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help