piBackColor - cStatusBar
Sets the background color of the statusbar
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 sets the background color of the statusbar. When set to clDefault (the default), Windows will automatically determine the color for you, based on the current Windows color configuration.
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
Note that while the color of the statusbar respects this property, the Grip does not. This means that if the pbSizeGrip is True, the Grip may have a different color than the statusbar.
Default is clDefault.