anyone know a snippet for a dropdown menu that writes in a textbox?
For Visual Basic
What do you mean?
Originally Posted by Jason
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]