PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Special case
  • Limitations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 progress bar corresponds to the progress percentage.
Example
COL_ProgressBar[2].TextProgressBar = "12 GB/17 GB"
COL_ProgressBar.TextProgressBar = "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