[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Inserts a column or a row at the specified position.
Source position: valedit.pas line 187
public procedure TValueListEditor.InsertColRow( |
IsColumn: Boolean; |
index: Integer |
); |
IsColumn |
|
False if the insert operation is for a row. |
index |
|
Relative position for the inserted column. |
InsertColRow is a procedure used to add a column or a row at the specified position in the control.
IsColumn indicates if a column is being inserted in the method. When IsColumn contains False, a row is inserted at the specified position. Index contains the row number where a blank item is inserted in Strings. Index is relative the number of FixedRows in the control; ie. when FixedRows = 1 and Index = 1, the item is inserted at position 0 in Strings. When FixedRows = 0 and Index = 1, the item is inserted at position 1 in Strings.
When IsColumn is True, an EGridException exception is raised with the message in rsVLEInvalidRowColOperation. Inserting a column is not a valid operation in TValueListEditor.
Raises an EGridException exception with the message in rsVLEInvalidRowColOperation when adding a column in the control.
|
Stores the keys, values, and item definitions in the control. |
|
|
Inserts an item with the specified value at the position in Index. |
|
|
Number of the fixed rows in the grid. |
Version 4.0 | Generated 2025-05-03 | Home |