Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.20 BackColor Property

Description:

Defines the background color of the control or object.

Used in:

Control(s)

Animation

CheckBox

ComboBox

CommandButton

DriveList

Edit

FileList

FolderList

Frame

Graph

GroupBox

Image

Label

ListBox

ListView

MCI

OptionButton

ProgressIndicator

ScrollBar

Shape

StaticText

Table

TextBox

Toolbar

Objects

Form

TableCell

Values:

Refer to "Appendix A, Color Constants" and OLE_COLOR described in "Appendix C, Data Types" for details of color values.

It is only effective when the Hilight property is True.

CommandButton

It is only effective when the UseSystemColor property is False.

TableCell

If the BackColor property is set to a different value from the Table control's BackColor property, the cell is painted in the value of the TableCell object's BackColor property.

If the BackColor property is set to the same value as the Table control's BackColor property, the cell's BackColor property is initialized and painted in the value of the Table control 's BackColor property.

Table

Column header cells are only painted when the Appearance property is "0-Flat" and the CaptionBackGray property is False.

If the BackColor property of a TableCell object is set, the cell is not painted with the Table control's BackColor but uses the TableCell object's BackColor.

Toolbar

It is only effective when the UseSystemColor property is False.

When the Style property is "1-Flat" or "2-FlatList", buttons on the Toolbar Control take on a transparent style and their backcolor becomes the Toolbar's backcolor.

Default value:

Form

System's Window Background color

TableCell

Table control's BackColor property.

Others

Container's BackColor property

COBOL picture:

S9(9) COMP-5

OLE data type:

OLE_COLOR

Design time access:

TableCell

Not accessible.

Others

Set and reference.

Execution time access:

Set and reference.

Backward compatibility attribute:

POW-BACKCOLORPIC X(4)