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.
  • Defining the progression color of progress bar in the window editor
  • Limits
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
ProgressBarColor (Property)
In french: CouleurJauge
The Property Color Gauge allows you to know and modify the Color of progress (i.e. the Color of the area advancing) in one of the following fields:
  • Windows MobileAndroidJavaPHP Progress Bar control,
  • Windows MobileAndroidiPhone/iPad Progress Bar column,
  • Windows Mobile Progress Bar cell,
  • Versions 20 and later
    iPhone/iPad infinite Progress Bar control whose type is "Native circular".
    New in version 20
    iPhone/iPad infinite Progress Bar control whose type is "Native circular".
    iPhone/iPad infinite Progress Bar control whose type is "Native circular".
Java This property operates on the Progress Bar controls only.
Versions 20 and later
AndroidiPhone/iPad This property is now available for Progress Bar columns in Android and iPhone/iPad applications.
New in version 20
AndroidiPhone/iPad This property is now available for Progress Bar columns in Android and iPhone/iPad applications.
AndroidiPhone/iPad This property is now available for Progress Bar columns in Android and iPhone/iPad applications.
Versions 22 and later
PHP This property is now available for PHP sites.
New in version 22
PHP This property is now available for PHP sites.
PHP This property is now available for PHP sites.
Example
Windows MobileUser code (UMC)
// Modify the color of progress bar for the cells of a Table control
COL_Gauge[2].ColourGauge = DarkGreen
COL_Gauge[3].ColourGauge = LightRed
Syntax

Finding out the progression color of a progress bar Hide the details

<Progression color> = <Control used>.ProgressBarColor
<Progression color>: Integer or constant
Progression color of progress bar displayed in the specified element. This color can correspond to:
<Control used>: Control name
Name of control to use. This control can correspond to:
  • Windows MobileAndroidJavaPHP a Progress Bar control,
  • Windows MobileAndroidiPhone/iPad a Progress Bar column,
  • Windows Mobile a Progress Bar cell,
  • Versions 20 and later
    iPhone/iPad an infinite Progress Bar control representing a native circular progress bar.
    New in version 20
    iPhone/iPad an infinite Progress Bar control representing a native circular progress bar.
    iPhone/iPad an infinite Progress Bar control representing a native circular progress bar.

Modifying the progression color of a progress bar Hide the details

<Control used>.ProgressBarColor = <Progression color>
<Control used>: Control name
Name of control to use. This control can correspond to:
  • Windows MobileAndroidJavaPHP a Progress Bar control,
  • Windows MobileAndroidiPhone/iPad a Progress Bar column,
  • Windows Mobile a Progress Bar cell,
  • Versions 20 and later
    iPhone/iPad an infinite Progress Bar control representing a native circular progress bar.
    New in version 20
    iPhone/iPad an infinite Progress Bar control representing a native circular progress bar.
    iPhone/iPad an infinite Progress Bar control representing a native circular progress bar.
<Progression color>: Integer or constant
Progression color of progress bar displayed in the specified element. This color can correspond to:
Remarks
Windows MobileJava

Defining the progression color of progress bar in the window editor

The progression color of a progress bar is defined in the "Style" tab of the control description ("Color" option of "Progress bar" element).
If the progression color is a gradient color, all the colors will be modified by keeping the same lightness.

Limits

  • The Property ProgressBarColor can be used:
    • on the Progress Bar controls,
    • on the Progress Bar columns (for the Table and TreeView Table controls),
    • on the Progress Bar cells (for the Table and TreeView Table controls).
  • If the gauge uses an image to represent the progress, the Property ProgressBarColor has no effect.
JavaPHP This property operates on the Progress Bar controls only.
Android This property operates on the Progress Bar controls and on the Progress Bar table columns.
Versions 20 and later
iPhone/iPad This property can be used on:
  • the infinite Progress Bar control whose type is "Native circular".
  • the Progress Bar table columns.
New in version 20
iPhone/iPad This property can be used on:
  • the infinite Progress Bar control whose type is "Native circular".
  • the Progress Bar table columns.
iPhone/iPad This property can be used on:
  • the infinite Progress Bar control whose type is "Native circular".
  • the Progress Bar table columns.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment