Spread Windows Forms 6.0 Product Documentation
SetActiveCell(Int32,Int32) Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > SetActiveCell Method : SetActiveCell(Int32,Int32) Method


row
Row index of cell
column
Column index of cell

Glossary Item Box

Sets the active cell on this sheet.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SetActiveCell( _
   ByVal row As Integer, _
   ByVal column As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
 
instance.SetActiveCell(row, column)
C# 
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.
C#Copy Code
fpSpread1.ActiveSheet.SetActiveCell(2, 2);
Visual BasicCopy Code
FpSpread1.ActiveSheet.SetActiveCell(2, 2)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.