[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Inserts a row at the specified position.
Source position: valedit.pas line 188
public function TValueListEditor.InsertRow( |
const KeyName: string; |
const Value: string; |
Append: Boolean |
):Integer; |
KeyName |
|
Key name to use in the new row. |
Value |
|
Value to use in the new row. |
Append |
|
True if a row is inserted after the current row. |
Relative row number for the inserted row.
InsertRow is an Integer function used to insert a row with the specified KeyName and Value at the current Row in the control.
Append indicates if the inserted row is added after the current Row in the control. When Append is False, the values in KeyName and Value are inserted at the current row. Row is updated to reflect the row number for the inserted values.
The return value contains the row number relative to the fixed title captions where the KeyName and Value were inserted.
Use InsertRowWithValues to insert a new row with the key and value passed in an array argument.
|
Stores the keys, values, and item definitions in the control. |
|
|
Inserts a row with the specified values at the specified position. |
|
|
Inserts an item with the specified value at the position in Index. |
|
|
Number of the fixed rows in the grid. |
|
|
Row number for the selected grid cell. |
|
|
Provides indexed access to a cell value by its column and row number. |
Version 4.0 | Generated 2025-05-03 | Home |