piBackColor - cProgressBar
The background color of the progress bar
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer piBackColor
| Access Type | Syntax |
|---|---|
| Read Access: | Get piBackColor to IntegerVariable |
| Write Access: | Set piBackColor to IntegerVariable/Value |
Description
piBackColor is the background color behind the progress bar. You can set this property to any valid color. When set to clDefault, Windows will provide the color for you using the Windows system settings.
This is passed a single value representing an RGB color, which can be a constant representing a Standard Color or a System Color, or a set of R, G and B values. Individual Red, Green, and Blue colors are converted to a single value by using the RGB function.
Set piBackColor to (rgb(255, 0, 0)) // red
Set piBackColor to clPurple
Set piBackColor to clBtnFace