RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TList.Move Method

Changes the position of an item in the Items array.

Pascal
procedure Move(CurIndex: Integer; NewIndex: Integer);
C++
__fastcall Move(int CurIndex, int NewIndex);

Call Move to move the item at the position CurIndex so that it occupies the position NewIndex. CurIndex and NewIndex are zero-based indexes into the Items array. 

 

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