- Erasing the progress bar
- Status bar
- Progress bar and MDI child window
- Limitations
ProgressBar (Function) In french: Jauge
Warning
From version 24, Gauge is kept for backward compatibility. This function is replaced by ProgressBar.
Displays a progress bar in the status bar of current window. Remark: The window must have a status bar.
Maxim is int = 234 FOR i = 1 TO Maxim ProgressBar(i, Maxim, "There is " + (Maxim-i)*100/Maxim + "% left") END
Syntax
Displaying the progress bar Hide the details
ProgressBar(<Progress Bar value> [, <Maximum value> [, <Progress Bar text> [, <Color>]]])
<Progress Bar value>: Integer Increment value of the progress bar. This value must be between 0 and <Maximum value>. <Maximum value>: Optional integer Maximum possible value of progress bar. If this parameter is not specified, the maximum value of the progress bar is set to 100. <Progress Bar text>: Optional character string Caption displayed on the right of the progress bar. If this parameter is not specified, the text displayed has the following format: "NN%" where NN represents the percentage of <Progress Bar value> in relation to <Maximum value>. For example: 45%. <Color>: Integer or constant (optional) Color of progress bar. This color can correspond to:If this parameter is not specified, the color used corresponds to the color of the selected elements. This color is defined in the display properties of the current computer (control panel, "Display" option, "Appearance" tab in Windows NT).
Erasing the progress bar
ProgressBar()
Remarks Erasing the progress bar If a text was displayed in the status bar before the progress bar was displayed, this text is restored when the progress bar is erased. Status bar To display the status bar in a window, check "Show status bar" in the "Style" tab of the window description.
This page is also available for…
|
|
|
|