|
|
|
|
|
ProgressBarSystem (Property)
The ProgressBarSystem property gets and sets the progress bar used as system progress bar (in the taskbar) with Windows 7 (and later). Reminder Starting with Windows 7, you can display a ProgressBar 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.
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
MyWindow.ProgressBarSystem = ProgressBarStatusBar
FOR i = 1 TO 100
ProgressBar(i, 100)
Multitask(10)
END
Sintaxis
Finding out the progress bar used as system progress bar by Windows 7 Ocultar los detalles
<Result> = <Window used>.ProgressBarSystem
<Result>: Character string Name of the progress bar used in the taskbar of the window in Windows 7. This name may correspond to: - the name of a Progress Bar control.
- one of the following constants:
| | ProgressBarDefault | Restores the default behavior. | ProgressBarNone | The progress bar is disabled. | ProgressBarStatusBar | The 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 Ocultar los detalles
<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 may correspond to: - the name of a Progress Bar control.
- one of the following constants:
| | ProgressBarDefault | Restores the default behavior. | ProgressBarNone | The progress bar is disabled. | ProgressBarStatusBar | The taskbar progress bar is used. |
Observaciones - 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.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|