You can view the progress of a running process with an XdevProgressBar. The progress is specified with the help of a value between 0.0 and 1.0. To view the current progress of a process, you must first determine its complete scope. In many cases, it is sufficient to display a progress wheel, which simply lets the user know that a process of unspecified duration is currently running. This option is easy to implement.

However, if you want to display the progress in real time, want to update further UI components next to XdevProgressBar, or do not want to block the interface during a background process, you must execute the process in a separate, parallel running thread and must update the interface in the browser after each change.


  

Important events:
Important properties:
Examples:

Opening a pop-up window for displaying the progress. The pop-up window blocks the entire user interface and closes automatically, as soon as the process closes in the background.

  1. Create a new ProgressView. Select the XdevGridLayout as an initial layout.
  2. Change the size of the view to 300 x 200 pixel. For this, click on px in the Toolbox under Width and enter 300, and under Height click on px and enter 200.
  3. Insert an XdevProgressBar in an empty view.
  4. Under Caption, enter Please Wait!

Create another view, insert an XdevButton, define a buttonClick event and open the ProgressView view as PopupWindow in it, which closes automatically as soon as the process ends:


Go to XdevProgressBar Javadoc