public void ActiveCell()
{
gcSpreadGrid1.ActiveCellPosition = new CellPosition(2, 3);
Console.WriteLine("The active cell is " + gcSpreadGrid1.ActiveCell.ToString());
Console.WriteLine("The active cell position is " + gcSpreadGrid1.ActiveCellPosition.ToString());
Console.WriteLine("The active column is " + gcSpreadGrid1.ActiveColumn.ToString());
Console.WriteLine("The active column index is " + gcSpreadGrid1.ActiveColumnIndex.ToString());
Console.WriteLine("The active row is " + gcSpreadGrid1.ActiveRow.ToString());
Console.WriteLine("The active row index is " + gcSpreadGrid1.ActiveRowIndex.ToString());
}
Public Sub ActiveCell()
gcSpreadGrid1.ActiveCellPosition = New CellPosition(2, 3)
Console.WriteLine("The active cell is " & gcSpreadGrid1.ActiveCell.ToString())
Console.WriteLine("The active cell position is " & gcSpreadGrid1.ActiveCellPosition.ToString())
Console.WriteLine("The active column is " & gcSpreadGrid1.ActiveColumn.ToString())
Console.WriteLine("The active column index is " & gcSpreadGrid1.ActiveColumnIndex.ToString())
Console.WriteLine("The active row is " & gcSpreadGrid1.ActiveRow.ToString())
Console.WriteLine("The active row index is " & gcSpreadGrid1.ActiveRowIndex.ToString())
End Sub