RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInterfaceList.Exchange Method

Swaps the position of two interfaces in the list.

Pascal
procedure Exchange(Index1: Integer; Index2: Integer);
C++
__fastcall Exchange(int Index1, int Index2);

Call Exchange to move the interface at position Index1 so that it appears at position Index2 and move the interface at position Index2 so that it appears at position Index1. Index1 and Index2 identify two positions (zero offset) in the Items property array. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!