SSpread.LockForeColor Property
Sets the text color of locked cells.
Specify a color constant or #RRGGBB format. If $STD is specified, the color specified by the ForeColor property will be used as it is. The initial value is $STD.
The background color of locked cells is set with the LockBackColor property.
The cell lock is set with the Lock and Protect properties.
Example of usage
Col = 2;
Row = 3;
Lock = $TRUE;
BlockMode = $TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
Lock = $TRUE;
BlockMode = $FALSE;
Protect = $TRUE;
LockForeColor = $BLUE;
LockBackColor = "#FFE69B";
Related Items
ForeColor, Lock, LockBackColor, Protect property