[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Swaps the values and item definitions at the specified positions.
Source position: valedit.pas line 99
public procedure TValueListStrings.Exchange( |
Index1: Integer; |
Index2: Integer |
); override; |
Index1 |
|
Position of the item value and definition to swap. |
Index2 |
|
Position of the item value and definition to swap. |
Exchange is a procedure used to swap the values and item definitions at the specified positions.
Exchange uses the TValueListEditor that owns the class to invalidate any cached rows in the control. A visible editor in the control is also hidden. Exchange calls the inherited method using the values in Index1 and Index2 as arguments. Exchange swaps the item definitions at the specified positions as well. A visible editor in TValueListEditor is restored when needed.
Version 4.0 | Generated 2025-05-03 | Home |