|
-
Aug 29th, 2007, 12:12 PM
#12
Re: [2005] ComboBox.SelectedItem won't change
 Originally Posted by circuits2
This is annoying me to no end.
Code:
Public Sub ComboBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles ComboBox1.SelectedIndexChanged
Me.TextBox1.Text = Me.ComboBox1.SelectedItem.ToString()
End Sub
The value of TextBox1.Text is always equal to ComboBox1.Item(0) regardless of what item is selected in the ComboBox. The DropDownStyle is set to DropDownList.
Any ideas?
This works for me... So I guess either the event somehow doesn't fire, or ???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|