Home BasePack DStruct Class TStringArray Properties NrOfRows |
|
| See also: NrOfColumns, Resize, AllocRowsBy, RowAttrib, AddRow, RemoveRow, InsertRow |
|
NrOfRows |
 |
| Unit: | SDL_dstruct | | Class: | TStringArray | | Declaration: | property NrOfRows:
longint; |
The property NrOfRows specifies the number of rows of the string array.
| Hint 1: |
Increasing the number of rows preserves all information in the string array, while decreasing it destroys the information contained in the removed (bottom) rows. |
| Hint 2: |
Reducing the number of rows of a sorted array will corrupt the data unless the method CommitSorting is called before changing the number of rows. |
| Hint 3: |
If both the number of columns and the number of rows are to be changed, the method Resize is more efficient. |
|