Home General VB.NET Reverse Listbox Items
20 | 05 | 2012
This site has been updated and renewed. You have followed an old link.

Click here to go to the new site

http://www.visiblevisual.com/jupgrade

Reverse Listbox Items PDF Print E-mail
User Rating: / 0
PoorBest 
Tutorials

Reverse the items in a listbox using the function below. lst.Sorted=False disables the autosort function.

 

 

Sub reverselistbox(ByVal lst As  ListBox)

lst.Sorted =

 

False

lst.Update()For Each item As String In lst.ItemsNext

lst.Items.Clear()

 

lst.Items.Add(myLBitems(i))

 

For i As Integer = myLBitems.Count - 1 To 0 Step -1Next

 

End Sub

[/code]

 

myLBitems.Add(item)

 

 

Add comment


Security code
Refresh

This site has been updated and renewed. You have followed an old link.

Click here to go to the new site

http://www.visiblevisual.com/jupgrade