S
sid
Using the following code snip in VB.net, When I start the app and
pulldown the list from the combox box it tries to make a selection.
But I don't want this feature. How do I prevent it.
Why is the first item of the list selected as soon as the pulldown
drops ?
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim i As Integer
For i = 0 To 5
Me.ComboBox1.Items.Add(Chr(65 + i) & "- " & Format(i,
"00"))
Next
Me.ComboBox1.Text = "A"
End Sub
pulldown the list from the combox box it tries to make a selection.
But I don't want this feature. How do I prevent it.
Why is the first item of the list selected as soon as the pulldown
drops ?
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim i As Integer
For i = 0 To 5
Me.ComboBox1.Items.Add(Chr(65 + i) & "- " & Format(i,
"00"))
Next
Me.ComboBox1.Text = "A"
End Sub