08-16-2005, 06:00 PM
Hello, I'm planning to make a program but I need a list like in iTunes showing the artist/song/album/etc..
example picture :
can anyone tell what the name of this control is and how to draw it on a form?
thanks in advance ;)
08-16-2005, 06:05 PM
Hi Geoffrey, and welcome :cool:
Looks like a listbox to me (set Style to "Checkbox") :)
08-16-2005, 06:11 PM
That's not what I meant ;)
I am talking about the whole box :
allowing the user to add things to the list and being able to sort it by clicking on Artist for example.
I can't explain myself that good because my english isn't very good and I'm only a beginner in Visual Basic, sorry .. :)
thanks anyway ;)
08-16-2005, 08:22 PM
You can us a MSFlexGrid I believe, let me go check.
08-16-2005, 08:30 PM
Ok its called a ListView
You put it on.
First hit CTRL + T then Select Microsoft Common Controls, one of those has them(There may be a few)
Then draw a Listview on
Then in your form load you put something like
08-16-2005, 11:45 PM
You might want to take a look at the
MP3 Player Tutorial
It uses a ListView in exactly this manner :)
08-17-2005, 05:22 AM
exactly what I needed :)
the mp3-player tutorial is very helpful, I'll do that one first.
edit : I have a new question now, it's not so important but how can I make it so that when I click the column headers, the songs sort alphabeticly?