SelForeColor Property
Applies To
fpSpread control
Description
Sets or returns the text color of the selected cells.
Syntax
unsigned long CSpreadSheet::GetSelForeColor( );
void CSpreadSheet::SetSelForeColor(unsigned long value);
[form.]fpSpread.SelForeColor[ = color]
Remarks
The default value for the SelForeColor property is SPREAD_COLOR_NONE. When the SelForeColor property is set to this value, the inverse of the text color set by the ForeColor property is used for the selected cells. Set the SelForeColor property to a color value to display a different text color in selected cells.
This setting is applied to the entire workbook, including all sheets in the control.
Set the background color for the selected cells using the SelBackColor property.
Spread Designer
Choose the Book menu, then the Book Colors menu, select the Colors tab, and then choose SelForeColor from the drop-down list box in the Sheet Default Settings dialog box.
Data Type
Color
See Also
Specifying the Colors of Selected Cells
ForeColor, SelBackColor properties
DLL Correspondence
SSGetSelColor, SSSetSelColor functions