Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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