Example
The following example specifies that selected cells do not remain highlighted when the control loses the focus.
C++
// Do not display highlighting on selected cells when
// control loses the focus
m_Spread.SetRetainSelBlock(FALSE);
Visual Basic
' Do not display highlighting on selected cells when
' control loses the focus
fpSpread1.RetainSelBlock = False