RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TValueListEditor.Cells Property

Lists the strings for each cell in the editor.

Pascal
property Cells [ACol, ARow: Integer]: string;
C++
__property AnsiString Cells[int ACol, ARow];

Use Cells to access the string in a particular cell. ACol is the column coordinate of the cell, and ARow is the row coordinate of the cell. ACol can be 0 (for the name column) or 1 (for the value column). ARow can range from 0 (for the title row) to the number of strings in the associated TStrings descendant. 

To access the strings in the name column, use the Keys property instead. To access the strings in the value column, use the Values property instead. To access the underlying string list, use the Strings property. 

 

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