ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
ProgressBarSystem (Property)
In french: JaugeSystème
The ProgressBarSystem property gets and sets the progress bar used as system progress bar (in the taskbar) with Windows 7 (and later).
Reminder: From Windows 7, a progress bar can be displayed in the taskbar for a given window. By default, this progress bar corresponds to:
  • the progress bar of the status bar if this progress bar exists.
  • the first visible progress bar of the window if the window includes a progress bar.
This automatic behavior can be modified with the ProgressBarSystem property.
Example
// Progress Bar control linked to the progress bar 7
MyWindow.ProgressBarSystem = PROGBAR_ProgBar1..Name
PROGBAR_ProgBar1.MinValue = 0
PROGBAR_ProgBar1.MaxValue = 100
FOR i = 1 TO 100
PROGBAR_ProgBar1.Value = i
Multitask(10)
END
// Progress bar of the taskbar linked to the progress bar 7
MyWindow.ProgressBarSystem = ProgressBarStatusBar
FOR i = 1 TO 100
ProgressBar(i, 100)
Multitask(10)
END
Syntax

Finding out the progress bar used as system progress bar by Windows 7 Hide the details

<Result> = <Window used>.ProgressBarSystem
<Result>: Character string
Name of the progress bar used in the taskbar of the window in Windows 7. This name can correspond to:
  • the name of a Progress Bar control.
  • one of the following constants:
    ProgressBarDefaultRestores the default behavior.
    ProgressBarNoneThe progress bar is disabled.
    ProgressBarStatusBarThe taskbar progress bar is used.
<Window used>: Window name
Name of the window for which the system progress bar will be made visible.

Modifying the progress bar used as system progress bar by Windows 7 Hide the details

<Window used>.ProgressBarSystem = <New value>
<Window used>: Window name
Name of the window for which the system progress bar must be managed.
<New value>: Character string
New name for the progress bar used in the window task bar in Windows 7. This name can correspond to:
  • the name of a Progress Bar control.
  • one of the following constants:
    ProgressBarDefaultRestores the default behavior.
    ProgressBarNoneThe progress bar is disabled.
    ProgressBarStatusBarThe taskbar progress bar is used.
Remarks
  • When the ProgressBarSystem property is modified, the progress bar in the taskbar is reset. Any value of the progress bar before the call to the ProgressBarSystem property will be lost.
  • This property is available in Windows 7 and later.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/04/2024

Send a report | Local help