Come faccio a scambiare due item in una listview !
Ho provato con questo per l'assegnazione ma mi da errore :
lswStatsTotal.ListItems(I) = lswStatsTotal.ListItems(S)
Come posso fare ?![]()
Come faccio a scambiare due item in una listview !
Ho provato con questo per l'assegnazione ma mi da errore :
lswStatsTotal.ListItems(I) = lswStatsTotal.ListItems(S)
Come posso fare ?![]()
ti potrebbe essere utile questo:
Dim nome$(3)
c = 0: b = 3
For k = 0 To List1.ListCount - 1
For i = k + 1 To List1.ListCount - 1
If k = 0 Or k = 2 Then c = c + 1: nome$(c) = List1.List(b - i): Stop
Next i, k
For i = 1 To c
List1.AddItem nome$(i)
Next i
List1.Refresh
link
homepage http://%77%77%77%2e%74%77%6f%72%6b%2e%69%74/
forum http://%77%77%77%2e%74%77%6f%72%6b%2...um/default.asp