Contents
- Index
- Previous
- Next
Cells property
Applies to
TProfGrid component
Declaration
property Cells[ACol, ARow: Integer]: TProfGridCell;
Description
Provides access to the cells in visible (not hidden) columns and rows.
Use the Cells array to access the particular cell. ACol is the column coordinate of the cell, and ARow is the row coordinate of the cell. The first row is row zero, and the first column is column zero. The ColCount and RowCount property values define the size of the array of cells.
Tip: In Delphi (and not in C++Builder) Cells is the default property of TProfGrid class. The Cells identifier can be omitted when accessing the Cells property of the grid. For example, the following two lines of code are both acceptable and do the same thing:
ProfGrid1.Cells[1,2].Value := 'Something';
ProfGrid1[1,2].Value := 'Something';
Run-time only
Read-only