SetActiveCell Method

The SetActiveCell method allows the cursor to be repositioned to a specific cell of the DataGrid control as required.

DataGridObject.SetActiveCell(RowIndex, ColumnIndex)

Client support

   Newlook Smartclient only.

Use

The SetActiveCell method can not be called via the OnReceive or OnRefresh events of a form, instead the OnTimer event must be used.

Arguments

RowIndex - (Integer, Required)

The row index of the cell to which the cursor is to be repositioned to. Note that the rows collection is a zero-based index.

ColumnIndex - (Integer, Required)

The column index of the cell to which the cursor is to be repositioned to. Note that the columns collection is a zero-based index.

Returns

No returns.

Applies To

DataGrid control

See Also

SetActiveControl method | EnsureVisisble method


© 2004-2021 looksoftware. All rights reserved.