Home > Language Reference > Classes > Display
BackColor Property
Background color.
Syntax
Public Property Get BackColor() As Long
Public Property Let BackColor(ByVal lColor As Long)
| Parameter | Description |
| lColor | New background color. |
Remarks
The BackColor property indicates the background color used to fill drawings carried out on the Display object. By default, the background color is white.
A color is specified with a value of type Long whose first byte contains the intensity of blue, the second the intensity of green and the third the intensity of red. This value could be defined using the Color function, or using the Built-in Color Constants. For more information, refer to the Color Handling chapter.
You can modify the foreground colors and the text colors using respectively the ForeColor and TextColor properties.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |