waytech2003
Programmer
I have a listbox on a form and have the multicolumn set to true. I would like to know if and when the horizontal scrollbar becomes visible when I am adding items to it in code. I can not seem to find an answer to this. Seems to me that there would be property, ScrollbarVisible, to test.
Code:
Dim mLastNumber As Integer = 10000
Private Sub btnTest_Click(sender As System.Object, e As System.EventArgs) Handles btnTest.Click
mLastNumber = mLastNumber + 1
ListOfNumbers.Items.Add(mLastNumber.ToString)
End Sub