Link Search Menu Expand Document

SSpread.SelForeColor Property

Sets the text color of the selected cell block.

Specify a color constant or #RRGGBB format. The behavior when $ STD is specified depends on the setting of the AppearanceStyle property. In the case of $AppearanceStyleClassic (standard style), it will be the reverse color of the text color specified by the ForeColor property. For other styles, it is based on the color of the selection set in the system. The initial value is $STD.

The text color of the selected cell is set with the SelBackColor property.

Example of usage

SelForeColor = $DGREEN;
SelBackColor = "#F2ED71";

Related Items
AppearanceStyle, ForeColor, SelBackColor properties