Add Listview item to the top of the list

  • Thread starter Thread starter Manfred
  • Start date Start date
M

Manfred

Hello

I try to add a listview item to the top of the list. I couldn't find the
solution to this.
After adding the item I like to remove the last item if a certain number
of items is reached.


Thank you for any comments/suggestions


Regards

Manfred
 
Manfred,

I think you can use the listview's Items property's Insert method to insert
at a particular index.

I think you can use the listview's Items property's RemoveAt method to
remove at a particular index.

Kerry Moorman
 
Kerry you saved me a lot of time searching. It works great. I was
unaware of this insert.

Thank you !

Regards

Manfred
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top