Vcl.Grids.TStringGridStrings.Insert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TStringGridStrings

Description

Prevents strings from being inserted.

Because TStringGridStrings objects represent the rows or columns of a string grid, the number of entries in the list must correspond exactly to the number of cells in the corresponding row or column. Rather than allow entries to be inserted, destroying this correspondence, Insert raises an EInvalidGridOperation exception.

See Also