Vcl.Grids.TStringGrid.Cells
Delphi
property Cells[ACol, ARow: Integer]: string read GetCells write SetCells;
C++
__property System::UnicodeString Cells[int ACol][int ARow] = {read=GetCells, write=SetCells};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TStringGrid |
Description
Lists the strings for each cell in the grid.
Use Cells to access the string within a 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 strings.
To access the objects associated with the strings in the Cells array, use the Objects property.
See Also
Code Examples