The ColIndex and RowIndex properties specify the active cell in the data grid control. If the data grid control does not have the focus, then ColIndex and RowIndex refer to the cell that would contain the cursor if the Grid control did have the focus.
ColIndex
Specifies the active column in the Grid control.
RowIndex
Specifies the active row in the Grid control.
Not available at design-time.
object.ColIndex as Integer
object.RowIndex as Integer
The ColIndex and CellIndex of the active cell may not always be the same. The ColIndex returns the index of the active column in the grid control whereas the CellIndex returns the index of the active cell within the active row. This is relevant only when the number of cells varies from row to row in the underlying subfile.
Cell property | ColCount property | RowCount property | Marker property | Columns collection | Properties
© 2004-2021 looksoftware. All rights reserved.