Multi column list control – the best choice
Posted on 2006-04-17
I’ve just started programming in VB.Net in Visual Studio having done lots of VBA.
I’d like to display a multi column list on my form. I’d like to display files and their attributes:
Filename Album Artist Track number
Nine Lives – Crash.mp3 Nine Lives Aerosmith 3
Which is the best control to do this?
A ListBox appears to be able to store only one field of data – MultiColumn seems to mean displaying a single field of data down then across – with no vertical scroll bars, only horizontal
A ListView seems to be the best option. I can populate it, but I can’t seem to “get” any values from it. I can get the selected index number, but not the values.
Any pointers would be appreciated.