RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringGridStrings.Create Constructor

Creates an instance of TStringGridStrings.

Pascal
constructor Create(AGrid: TStringGrid; AIndex: Longint);
C++
__fastcall TStringGridStrings(TStringGrid AGrid, Longint AIndex);

Do not create instances of TStringGridStrings. String grids create TStringGridStrings objects for every row and column, to allow quick access of the strings and objects associated with the cells in the grid. 

The AGrid parameter specifies the string grid that will use the TStringGridStrings object. The AIndex parameter specifies the index of the row or column associated with the TStringGridStrings object. If AIndex is greater than 0, the TStringGridStrings object represents the row indexed by AIndex. If AIndex is less than 0, the TStringGridStrings object represents the column indexed by the absolute value of AIndex. If AIndex is 0, the TStringGridStrings object represents an empty row or column. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!