PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview of the infinite Progress Bar control
  • Creating an infinite Progress Bar control
  • Characteristics of the infinite Progress Bar control
  • Operating mode of the infinite Progress Bar control
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
Overview of the infinite Progress Bar control
Adding a progress bar is a useful piece of information for the end user.
Sometimes, it is not possible to predict the duration of a process and therefore it is not possible to display a progress bar corresponding to the progress status.
An infinite Progress Bar control can be used in this case. The type of progress bar displays an endless animation.
Different examples of
Different examples of "infinite" progress bars
Creating an infinite Progress Bar control
To create an infinite Progress Bar control:
  1. On the "Creation" pane, in the "Graphic controls" group, expand "Progress bar" and select an infinite progress bar.
  2. Click the position where the control will be created in the window. The control appears in creation mode.
To display the control characteristics, select "Description" from the popup menu of control.
Characteristics of the infinite Progress Bar control
In the "General" tab of the description window of an infinite Progress Bar control, you have the ability to define the type of the infinite progress bar:
  • Native linear.
  • iPhone/iPad Native circular.
  • Custom image. In this case, you have the ability to specify in the editor or by programming:
    • the image used.
      By programming, this option corresponds to ..Image.
    • the number of animation steps.
      Windows By programming, this option corresponds to ..NbAnimationSteps.
    • the duration of the animation
      By programming, this option corresponds to ..AnimationDuration.
    • whether the animation must be performed both ways.
      WindowsiPhone/iPad By programming, this option corresponds to ..TwoWayAnimation.
iPhone/iPad Note: The color of the native progress bar can be modified by ..ProgressBarColor.
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 animation of the infinite progress bar is performed in the main thread of the application. 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 required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment