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.
  • Special case
  • Limitations
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
TextProgressBar is used to find out and modify the text displayed in a progress bar. This text is displayed instead of the percentage.
Reminder: By default, the text displayed in a progress bar corresponds to the percentage of progress for the progress bar.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
COL_ProgressBar[2].TextProgressBar = "12 GB/17 GB"
COL_ProgressBar.TextProgressBar = "Email 3/67 (%1)"
Syntax

Finding out 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 control to use. 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.

Modifying the text displayed in a progress bar Hide the details

<Control used>.TextProgressBar = <New text>
<Control used>: Control name
Name of control to use. 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 (with quotes)
New text that will be displayed in the progress bar.
  • If <New text> contains the "%1" string, this string is replaced by 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 is used to modify the text displayed on the gauge, the "Display progress percentage" option is automatically checked in the "Detail" tab of the HEX@ of the Progress Bar control.

Limitations

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