RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractNamedVariants.Move Method

Moves a name/Variant pair to a new position in the list.

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

Call move to reposition an item in the list. Move removes the item from its current position and inserts it in the new position, readjusting the positions (indexes) of other items as necessary. 

CurIndex is the current position of the item to move. 

NewIndex is the position to which the item is moved. 

 

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