G
Guest
I'm having a problem getting listbox items to show up in VB.NET. I'm using
a test program that has one form with a listbox. I'm using this code in the
form load event:
Dim x As Integer
For x = 1 To 50
Me.ListBox1.Items.Add("Item " & x.ToString())
Next x
Dim i As Integer
i = Me.ListBox1.Items.Count
The count property is correct (50), but nothing shows up in the listbox. I
can select rows, but all are blank.
Any ideas?
a test program that has one form with a listbox. I'm using this code in the
form load event:
Dim x As Integer
For x = 1 To 50
Me.ListBox1.Items.Add("Item " & x.ToString())
Next x
Dim i As Integer
i = Me.ListBox1.Items.Count
The count property is correct (50), but nothing shows up in the listbox. I
can select rows, but all are blank.
Any ideas?