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


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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members
Overload List
ActiveCell Property

 

 


Copyright © GrapeCity, inc. All rights reserved.