[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ValEdit' (#lcl)

TItemPropList.Exchange

Swaps the items at the specified positions.

Declaration

Source position: valedit.pas line 69

public procedure TItemPropList.Exchange(

  Index1: Integer;

  Index2: Integer

);

Arguments

Index1

  

Ordinal position for the item to be swapped.

Index2

  

Ordinal position for the item to be swapped.

Description

Exchange is a procedure used to swap the items at the specified positions in the list. Exchange calls the corresponding method in TFPObjectList using Index1 and Index2 as arguments. Exchange is used in the implementation of the TValueListStrings.Exchange method.

See also

TFPObjectList.Exchange

TValueListStrings.Exchange

  

Swaps the values and item definitions at the specified positions.


Version 4.0 Generated 2025-05-03 Home