[Overview][Types][Classes][Index] |
Relocates the association stored at the position in CurIndex to the position in NewIndex.
Source position: objectlists.pas line 77
public procedure TObjectArray.Move( |
CurIndex: Integer; |
NewIndex: Integer |
); |
CurIndex |
|
Ordinal position where the association is currently stored |
NewIndex |
|
Ordinal position where the association is moved. |
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.
|
Provides access to the list which implements the storage for the item/object associations in the class instance. |
|
|
Record type with pointers to members in the association. |
Version 4.0 | Generated 2025-05-03 | Home |