VSFlexGrid Control > VSFlexGrid Properties, Events, and Methods > VSFlexGrid Properties > ForeColor Property |
Returns or sets the foreground color of the non-fixed cells.
[form!]VSFlexGrid.ForeColor[ = colorref& ]
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.
Color