MoveItem
This method moves an item specified by
OldIndex
from
OldIndex
to
NewIndex
.
The method causes all items between OldIndex
and
NewIndex
to change their index after successful operation.
The collection triggers the OnChange event.
Syntax
MoveItem (OldIndex As Long, NewIndex As Long)
Parameter | Description |
---|---|
OldIndex |
Index of the item to move. Possible values 1 to Count |
NewIndex |
New index of the item after the moving it. Possible values 1 to Count |