ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Special case
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The TextProgressBar property gets and sets the text displayed in a progress bar. This text is displayed instead of the percentage.
Reminder By default, the text displayed in a ProgressBar corresponds to the gauge's percentage of progress.
Example
COL_Jauge[2].TexteJauge = "12 Go / 17 Go"
COL_Jauge.TexteJauge = "Email 3/67 (%1)"
Syntax

Getting the text displayed in a progress bar Hide the details

<Text> = <Control used>.TextProgressBar
<Text>: Character string
Text displayed in the progress bar.
<Control used>: Control name
Name of the control to be used. This control can correspond to:
  • a Progress Bar control,
  • an Edit control,
  • a Combo Box in edit mode,
  • a column of a Table control in edit mode.

Changing the text displayed in a progress bar Hide the details

<Control used>.TextProgressBar = <New text>
<Control used>: Control name
Name of the control to be used. This control can correspond to:
  • a Progress Bar control,
  • an Edit control,
  • a Combo Box in edit mode,
  • a column of a Table control in edit mode.
<New text>: Character string
New text that will be displayed in the progress bar.
  • If <New text> contains the "%1" string, the string is replaced with the current percentage.
  • If <New text> corresponds to an empty string (""), no percentage is displayed by the progress bar.
Remarks

Special case

If the TextProgressBar property modifies the text displayed in the progress bar, the "Display progress percentage" option is automatically checked in the "Details" tab of the Progress Bar control description.

Limitations

The TextProgressBar property is available:
  • for Progress Bar controls,
  • for the cells of Progress Bar columns in a Table control.
This property is not available for the cells of Progress Bar columns in TreeView Tables.
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/13/2025

Send a report | Local help