Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear friends,

I am working Dotnet windows Application using C#.

I have small doubt of listview control

I have one listview control and button (name Play) control, Listview contains 10 items, when i click the Play button, the listview first item will select and selection of listview will move one by one upto 10 items. Then it will loop again start from first item. (Like Mp3 player listfiles)

Friends give some ideas to finish my task

Regards,
Vasanth
Posted
Comments
Maciej Los 6-Aug-12 5:12am    
Waht have you done till now?
Where are you stuck?

1 solution

How can you finish your task if you've not started it ? If you want to move the items up by one, then you just remove the one you want to remove, and insert it where you want it. Where is the issue ?
 
Share this answer
 
Comments
vasanthkumarmk 6-Aug-12 5:22am    
Listbox items will move one by one from Up to Bottom.... Like songs play from mp3 player
Christian Graus 6-Aug-12 5:23am    
So you want to remove the one from the top, so they all move up ? Then my answer is correct.
vasanthkumarmk 6-Aug-12 6:03am    
Don't remove any thing just select one by one....
Christian Graus 6-Aug-12 6:12am    
Then set the selected item or selected index. Look, even if you don't have a book, intellisense lets you explore the settings on these controls, could you really not find these things ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900