Name
Listview.Exchange -- exchange two entries
Synopsis
mui.DoMethod(id, "Exchange", pos1, pos2)
Function
Exchange two entries in a list. Positions have to be passed as absolute values starting from 0 to Listview.Entries-1 or pass one of the following special values:

Top
Use top entry.

Active
Use active entry.

Bottom
Use bottom entry.

Next
Use next entry. This is only valid for the second parameter.

Previous
Use previous entry. This is only valid for the second parameter.

Inputs
id
id of the listview object
pos1
number of the first entry
pos2
number of the second entry

Show TOC