PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..ProgressBarSystem is used to find out and modify 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 by ..ProgressBarSystem.
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 name>..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:
    ProgressBarNoneThe display of progress bar is disabled.
    ProgressBarStatusBarThe progress bar of taskbar is used.
    ProgressBarDefaultRestores the default behavior.
<Window name>: Character string (with or without quotes)
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 name>..ProgressBarSystem = <New value>
<Window name>: Character string (with or without quotes)
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:
    ProgressBarNoneThe display of progress bar is disabled.
    ProgressBarStatusBarThe progress bar of taskbar is used.
    ProgressBarDefaultRestores the default behavior.
Remarks
  • The modification of ..ProgressBarSystem reinitializes the progress bar of the taskbar. Any value of the progress bar before the call to ..ProgressBarSystem 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