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


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

Parameters

row
Row index of cell
column
Column index of cell
Example
This example sets the active cell for the sheet.
fpSpread1.ActiveSheet.SetActiveCell(2, 2);
FpSpread1.ActiveSheet.SetActiveCell(2, 2)
See Also

Reference

SheetView Class
SheetView Members
Overload List
ActiveCell Property