Specifies the color of the component.
Declaration
| Read-Write Property | Integer |
| componentPropObj | One of the objects listed in the Applies To section |
Applies To
This property applies to the following objects:
Description
Use the BeginColor property to get or set the color of the progress bar component. If the style of the progress bar is “cxbsSolid” or “cxbsLEDs” then it is painted entirely with this color. If the style is “cxbsGradient” or “cxbsGradientLEDs” then it is painted with the gradient fill from BeginColor to EndColor colors.
The colors of the overload bar are specified by the OverloadBeginColor and OverloadEndColor properties. The color of a peak mark is specified by the PeakColor property.
Property Value
An integer value that specifies the components’ color.
For a list of predefined color constants and instructions on how to calculate custom color values, see the Working With Colors topic.
See Also
Working With Colors
EndColor Property
OverloadBeginColor Property
OverloadEndColor Property
PeakColor Property
