Listview

  • Thread starter Thread starter zulander
  • Start date Start date
Z

zulander

Is there a way to set a index of a item when you add ? i want to add
the item at the index 0, which mean everytime i would i it would be at
the top of the list


Dim xitem As ListViewItem
xitem = lv.Items.Add("HELLO")
xitem=nothing

thank you
 
Is there a way to set a index of a item when you add ? i want to add
the item at the index 0, which mean everytime i would i it would be at
the top of the list

You may want to use 'ListView.Items.Insert' to insert the item at a specific
position.
 
Back
Top