Vcl.Grids.TStringGridStrings.Create

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

constructor Create(AGrid: TStringGrid; AIndex: Longint);

C++

__fastcall TStringGridStrings(TStringGrid* AGrid, int AIndex);

プロパティ

種類 可視性 ソース ユニット
constructor public
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TStringGridStrings

説明

Create メソッドは TStringGridStrings のインスタンスを作成します。

TStringGridStrings のインスタンスは作成しないでください。String グリッドがそれぞれの行や列に対して TStringGridStrings オブジェクトを作成し,グリッド内のセルに関連付けられた文字列やオブジェクトにすばやくアクセスできるようにします。

AGrid パラメータは,TStringGridStrings オブジェクトを使用する文字列グリッドを指定します。AIndex パラメータは TStringGridStrings オブジェクトに関連付けられた行または列のインデックスを指定します。AIndex が 0 より大きい場合,TStringGridStrings オブジェクトは AIndex でインデックス付きの行を表します。AIndex が 0 より小さい場合,TStringGridStrings オブジェクトは AIndex の絶対値でインデックス付きの列を表します。AIndex が 0 の場合,TStringGridStrings オブジェクトは空の行または列を表します。

関連項目