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


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