You are here: Symbol Reference > MtxBaseComp Namespace > Classes > TMtxComponentList Class > public > TMtxComponentList.Exchange Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxComponentList.Exchange Method

Swaps the position of two items in the Items array.

Pascal
procedure Exchange(Index1: Integer; Index2: Integer);

Call Exchange to swap the positions of the items at positions Index1 and Index2 of the Items array. The indexes are zero-based.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!