TObjectArray.Move procedure
Relocates the association stored at the position in CurIndex to the position in NewIndex.
Declaration
procedure Move(CurIndex: Integer; NewIndex: Integer)Description
Move is a procedure used to relocate the association stored at the
position in
CurIndex to the position in
NewIndex. No
actions are performed in the method when CurIndex and Index contain the same
value.
Move gets the T2Pointer stored at the position in CurIndex from
the List. Move call the Move routine in the System.pp
unit to relocate any associations stored between the positions in CurIndex
and NewIndex. The relocated associations are moved towards the end of List
when CurIndex is greater than NewIndex.
The T2Pointer is reassigned to the position in NewIndex.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
