Example
The following example specifies that when the user moves the focus to the control, the cell the user clicks becomes the active cell.
C++
// Set cell to become active when clicked when the
// control receives focus
m_Spread.SetMoveActiveOnFocus(TRUE);
Visual Basic
' Set cell to become active when clicked when the
' control receives focus
fpSpread1.MoveActiveOnFocus = True