PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • 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 name>..TextProgressBar
<Text>: Character string
Text displayed in the progress bar.
<Control name>: Character string (with or without quotes)
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 name>..TextProgressBar = <New text>
<Control name>: Character string (with or without quotes)
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 ..TextProgressBar is used to modify the text displayed in the progress bar, the option "Display the percentage of progress" is automatically checked in the "Details" tab of the Progress Bar control description window.

Limitations

..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