ForeColorFixed Property

Sets the text color of column headings in the Grid Control.

Syntax

object.ForeColorFixed [= OLE_COLOR]

Parameters

The ForeColorFixed property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

OLE COLOR

The value of the color you select from the displayed color palette; for example: &H0000FF00&

Remarks

To set:

  • To set the color of the cell text, use the ForeColor property.
  • The background color of the column headings and the column for the current row pointer, use the BackColorFixed property.
  • To set the background color of the grid cells, use the BackColor property.
  • To set the background color of the portion of the control not occupied by the grid, use the BackColorBackGround property.
  • To set the color of the grid lines, use the GridColor property.

See Also