PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Property SystemGauge allows to know and modify the gauge used as system gauge (in the taskbar) with Windows 7 (and higher).
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 Property Gauge.
Example
// Progress Bar control linked to the progress bar 7
MyWindow.GaugeSystem = Gauge_Gauge1...Name
JAUGE_Jauge1.BorneMin = 0
JAUGE_Jauge1.BorneMax = 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.GaugeSystem = 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> = <Manipulated window>.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.
<Manipulated window>: 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

<Manipulated window>.ProgressBarSystem = <New value>
<Manipulated window>: 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:
    ProgressBarNoneThe display of progress bar is disabled.
    ProgressBarStatusBarThe progress bar of taskbar is used.
    ProgressBarDefaultRestores the default behavior.
Remarks
  • Changing the Property ProgressBarSystem resets the taskbar gauge. Any value of the gauge prior to calling the Property 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