I am working on porting a VB6 application to .NET, and one of the necessary user interface elements is a horizontal list. I cannot figure out how to replicate this in .NET.
Example:

Code VB6 that will play the above image:
Private Sub Form_Load() lst_horizontal(1).FontSize = 6 Dim iMaxChoices As Integer iMaxChoices = 10 For i = 1 To iMaxChoices lst_horizontal(1).AddItem (" " + CStr(i)) Next i End Sub Private Sub lst_horizontal_Click(Index As Integer) Dim iMaxChoices As Integer iMaxChoices = 10 For i = 0 To iMaxChoices - 1 If lst_horizontal(1).Selected(i) Then Debug.Print ("Item " + CStr(i + 1) + " selected") End If Next i
Lava words: I can understand how to copy this into Silverlight / XAML, but this application cannot be done that way.
Tangurena
source share