System.Classes.TList.Move

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Move(CurIndex, NewIndex: Integer);

C++

void __fastcall Move(int CurIndex, int NewIndex);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TList

Description

Changes the position of an item in the Items array.

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.

See Also