|
|
|
|
|
TextProgressBar (Property) In french: TexteJauge
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. 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|