CellForeColor Property

Returns or sets the foreground color of the selected cell or range.

Syntax

[form!]VSFlexGrid.CellForeColor[ = colorref& ]

Remarks

Changing this property affects the current cell or the current selection depending on the setting of the FillStyle property. To set the font of an arbitrary range of cells (not necessarily the current selection), use the Cell property instead.

Setting this property to zero (black) causes the control to paint the cell using the standard color (set by the ForeColor property). Thus, to set this property to black, use RGB(1,1,1) instead of RGB(0,0,0) or vbBlack.

Data Type

Color

See Also

VSFlexGrid Control