Vcl.Grids.TStringGridStrings.Insert

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

Delphi

procedure Insert(Index: Integer; const S: string); override;

C++

virtual void __fastcall Insert(int Index, const System::UnicodeString S);

プロパティ

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

説明

文字列が挿入されるのを防ぎます。

TStringGridStrings オブジェクトは文字列グリッドの行または列を表すため,リスト内の要素の数は,対応する行内または列内のセルの数と正確に一致する必要があります。要素の挿入を許可するというよりも,この対応関係を壊すと,Insert は EInvalidGridOperation 例外を生成します。

関連項目