MoveItem Method

Moves an item to a new position in a list box.

ListBox.MoveItem(nItemIndex, nMoveBy)

Parameters

nItemIndex

Specifies the current index for the item you wish to move.

nMoveBy

Indicates how many positions the item should be moved. A positive value indicates downward movement. A negative number indicates upward movement.

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic