PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
ProgressBarColor (Property)
In french: CouleurJauge
The ProgressBarColor property is used to get and change the progress color in the following controls and elements:
  • WINDEVWEBDEV - Server codeWEBDEV - Browser codeAndroidJavaPHP Progress Bar control,
  • WINDEVAndroidiPhone/iPad Progress Bar column,
  • WINDEV 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 can only be used on Progress Bar controls.
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.
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Server codeWindowsLinux This function is now available for WEBDEV sites in Linux and in Windows.
New in version 22
PHP This property is now available for PHP sites.
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Server codeWindowsLinux This function is now available for WEBDEV sites in Linux and in Windows.
PHP This property is now available for PHP sites.
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Server codeWindowsLinux This function is now available for WEBDEV sites in Linux and in Windows.
Example
WINDEVReports and QueriesUser code (UMC)
// Modify the color of progress bar for the cells of a Table control
COL_ProgBar[2].ProgressBarColor = DarkGreen
COL_ProgBar[3].ProgressBarColor = 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 the control to be used. This control can correspond to:
  • WINDEVWEBDEV - Server codeWEBDEV - Browser codeAndroidJavaPHP a Progress Bar control,
  • WINDEVAndroidiPhone/iPad a Progress Bar column,
  • WINDEV 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 the control to be used. This control can correspond to:
  • WINDEVWEBDEV - Server codeWEBDEV - Browser codeAndroidJavaPHP a Progress Bar control,
  • WINDEVAndroidiPhone/iPad a Progress Bar column,
  • WINDEV 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
WINDEVJava

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 ProgressBarColor property can be used:
    • on Progress Bar controls,
    • on Progress Bar columns (for Table and TreeView Table controls),
    • on Progress Bar cells (for Table and TreeView Table controls).
  • If the progress bar uses an image to show the progress, the ProgressBarColor property has no effect.
WEBDEV - Server codeWEBDEV - Browser codeJavaPHP This property can only be used on Progress Bar controls.
Android This property can be used on Progress Bar controls and Progress Bar table columns.
Versions 20 and later
iPhone/iPad This property can be used on:
  • infinite Progress Bar controls of type "Native circular".
  • Progress Bar table columns.
New in version 20
iPhone/iPad This property can be used on:
  • infinite Progress Bar controls of type "Native circular".
  • Progress Bar table columns.
iPhone/iPad This property can be used on:
  • infinite Progress Bar controls of type "Native circular".
  • Progress Bar table columns.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment