Contents - Index - Previous - Next


Row property



Applies to
TProfGrid component

Declaration
property Row: Integer;

Description

Specifies the visible index of the row that contains the focused cell.

Use Row at runtime to determine the current row in the grid. Setting Row moves focus to the cell in the current column that is in the new row. The first row has an index of 0, the second row an index of 1, and so on.

The selected cell in the grid can be located by reading the Row property and the Col property to obtain the indexes of its row and column.

Note:  If the grid has only fixed rows and the selection of fixed rows is not permitted, the Row property returns -1.


Run-time only