ForeColor Property

Returns or sets the foreground color of the non-fixed cells.

Syntax

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

Remarks

This property works in conjunction with the ForeColorFixed, ForeColorSel, and ForeColorFrozen properties to specify the color used to draw text.

 

ForeColor

is the color used to draw text in the scrollable area of the control.

ForeColorFixed

is the color used to draw text in the fixed rows and columns (see the FixedRows and FixedCols properties).

ForeColorSel

is the color used to draw text in selected cells (see the HighLight property).

ForeColorFrozen

is the color used to draw frozen cells (see the FrozenRows and FrozenCols properties).

 

You may set the text color of individual cells using the Cell(flexcpForeColor) property.

Data Type

Color

See Also

VSFlexGrid Control