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:
  • WINDEVJava Progress Bar control,
  • WINDEV Progress Bar column,
  • WINDEV Progress Bar cell,
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_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:
  • WINDEVJava a Progress Bar control,
  • WINDEV a Progress Bar column,
  • WINDEV a Progress Bar cell,

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:
  • WINDEVJava a Progress Bar control,
  • 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 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 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.
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