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};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TStringGrid |
説明
グリッド内の各セルの文字列リストを表示します。
Cells を使用すると、特定のセルにある文字列にアクセスすることができます。ACol はセルの列座標、ARow はセルの行座標です。最初の行は、行 0、最初の列は、列 0 となります。
ColCount および RowCount のプロパティ値は、文字列の配列のサイズを定義しています。
Cells 配列において文字列に関連づけられたオブジェクトにアクセスするには、Objects プロパティを使用します。
関連項目