[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the value in Cells at the specified row and column numbers.
Source position: valedit.pas line 162
protected function TValueListEditor.GetCells( |
ACol: Integer; |
ARow: Integer |
):string; override; |
ACol |
|
Column number to read in Cells. |
ARow |
|
Row number to read in Cells. |
Value for the cell at the specified row and column number.
GetCells is a String function used to get the value in the Cells property at the specified row and column numbers. GetCells extends the behavior from the ancestor class by using the Strings property as the source of data in the control.
When ACol contains 0 (the Key column), the Names property in Strings is used to get the value for the current row. When ACol contains 1 (the Value column), the ValueFromIndex method in Strings is used to get the value for the current row.
The return value is an empty string ('') when ARow is 0 (zero) and column titles are enabled in DisplayOptions. Use the TitleCaptions property to set the values displayed when DisplayOptions includes the value doColumnTitles.
|
Stores the keys, values, and item definitions in the control. |
|
|
Title captions used for columns in the control. |
|
Version 4.0 | Generated 2025-05-03 | Home |