[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Moves the specified column or row to the new position.
Source position: valedit.pas line 195
public procedure TValueListEditor.MoveColRow( |
IsColumn: Boolean; |
FromIndex: Integer; |
ToIndex: Integer |
); |
IsColumn |
|
True if the operation affects a column. |
FromIndex |
|
Original position of the row or column. |
ToIndex |
|
Target position for the row or column. |
MoveColRow is a procedure used to move the specified column or row to the new position. IsColumn indicates if the positions are in a column or in a row in the control. The two-column layout in TValueListEditor prevents moving column values. When IsColumn is True, an EGridException exception is raised with the message in rsVLEInvalidRowColOperation.
When IsColumn is False, the values in Strings stored at the relative position in FromIndex are deleted. The values are re-inserted in Strings at the relative position in ToIndex.
|
Stores the keys, values, and item definitions in the control. |
|
Version 4.0 | Generated 2025-05-03 | Home |