SetActiveCell Method
Applies To
fpSpread control
Description
Sets the active cell.
Syntax
C++
void CSpreadSheet::SetActiveCell (long lCol, long lRow);
Visual Basic
fpSpread1.SetActiveCell(ByVal lCol As Long, ByVal lRow As Long)
Parameters
The following parameters are available:
Parameter | Description |
---|---|
lCol | The column coordinate of the cell |
lRow | The row coordinate of the cell |
Remarks
The active cell is the cell that receives user input. The active cell usually displays a focus rectangle or a blinking cursor.
This method is called for the current sheet setting unless you first set the Sheet property to specify the sheet with which you want to work.
Use the ActiveCol and ActiveRow properties to return the active cell.
Return Type
None
See Also
ActiveCol, ActiveRow, Sheet properties
DLL Correspondence
SSSetActiveCell function