help me with dropdown

Posts 1–4 of 4 · Page 1 of 1
help me with dropdown


anyone know a snippet for a dropdown menu that writes in a textbox?
For Visual Basic
What do you mean?
Quote Originally Posted by Jason View Post
What do you mean?
what is it you dont get?

a dropdown, when you click in one of the drops inside it will generate text in a text box
Like...a combo box?

Just handle the selectedchangecomitted event of the comx and assign the selectedtext to your textbox:

[php]
Private Sub ComboBox1_SelectionChangeCommitted(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectionChangeCommitted
TextBox1.Text = ComboBox1.SelectedText
End Sub
[/php]
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Talk with us