PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • 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
..ProgressBarColor is used to find out and modify the progression color (which means the color of the area that moves forward) in one of the following controls:
  • WINDEVJava Progress Bar control,
  • WINDEV Progress Bar column, WINDEV Progress Bar column,
  • WINDEV Progress Bar cell,
Java This property operates on the Progress Bar controls only.
Java This property operates on the Progress Bar controls only.
Versions 22 and later
WindowsLinux This function is now available for WEBDEV sites in Linux and in Windows.
New in version 22
WindowsLinux This function is now available for WEBDEV sites in Linux and in Windows.
WindowsLinux This function is now available for WEBDEV sites in Linux and in Windows.
Example
WINDEVUser 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> = <Element name>..ProgressBarColor
<Progression Color>: Integer or constant
Progression color of progress bar displayed in the specified element. This color corresponds to:
<Element name>: Character string (with or without quotes)
Name of control to use. This control can correspond to:
  • WINDEVJava a Progress Bar control,
  • WINDEV a Progress Bar column, WINDEV a Progress Bar column,
  • WINDEV a Progress Bar cell,

Modifying the progression color of a progress bar Hide the details

<Element name>..ProgressBarColor = <Progression Color>
<Element name>: Character string (with or without quotes)
Name of control to use. This control can correspond to:
  • WINDEVJava a Progress Bar control,
  • WINDEV a Progress Bar column, WINDEV a Progress Bar column,
  • WINDEV a Progress Bar cell,
<Progression Color>: Integer or constant
Progression color of progress bar displayed in the specified element. This color corresponds 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

  • ..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).
  • ..ProgressBarColor has no effect if the progress bar is using an image to represent the progression.
Java This property operates on the Progress Bar controls only.
Java This property operates on the Progress Bar controls only.
Java This property operates on the Progress Bar controls only.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment