Spread Windows Forms 12.0 Product Documentation
SetActiveCell(Int32,Int32,Boolean) Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > SetActiveCell Method : SetActiveCell(Int32,Int32,Boolean) Method
Row index of cell
Column index of cell
Whether to clear selections
Sets the active cell on this sheet.
Syntax
'Declaration
 
Public Overloads Sub SetActiveCell( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal clearSelection As Boolean _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim clearSelection As Boolean
 
instance.SetActiveCell(row, column, clearSelection)
public void SetActiveCell( 
   int row,
   int column,
   bool clearSelection
)

Parameters

row
Row index of cell
column
Column index of cell
clearSelection
Whether to clear selections
Example
This example sets the active cell and does not clear selections.
fpSpread1.ActiveSheet.SetActiveCell(2, 2, false);
FpSpread1.ActiveSheet.SetActiveCell(2, 2, False)
See Also

Reference

SheetView Class
SheetView Members
Overload List
ActiveCell Property