Returns or sets the foreground color of the selected cells.
Syntax
[form!]VSFlexGrid.ForeColorSel[ = colorref& ]
Remarks
This property works in conjunction with the ForeColor, ForeColorFrozen, and ForeColorFixed 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