The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:property BarColors[ix: integer]: TColor;

The property BarColors contains the colors which are mapped to the progress bar is the property ShowColorGradient is TRUE. The parameter ix may assume values between 0 and MAXBARCOLORS.

Hint: Please note that the properties ColorMin and ColorMax are taken from BarColors[0] and BarColors[MAXBARCOLORS], respectively. Writing these properties triggers a re-calculation of the colors in the array BarColors, creating a color gradient between ColorMin and ColorMax.

Example: This property is used in the following example program (see for downloading the code): sdlprogbar

Last Update: 2012-Oct-20