Hello,
Not sure whether or not this is posted in the correct place, if not feel free to move it..
I am relatively new to VB and am looking for help.
I am trying to make a button to add another combobox/listbox below the previous one, and so on. So the form would open with one combobox and and button, when clicked produces a repeat of box immediately below it. and then if clicked again another one will appear below that, and so on.
Can anyone help?
I have this:
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
End Sub
Private Sub AddButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddButton.Click
End Sub
Not sure whether or not this is posted in the correct place, if not feel free to move it..
I am relatively new to VB and am looking for help.
I am trying to make a button to add another combobox/listbox below the previous one, and so on. So the form would open with one combobox and and button, when clicked produces a repeat of box immediately below it. and then if clicked again another one will appear below that, and so on.
Can anyone help?
I have this:
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
End Sub
Private Sub AddButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddButton.Click
End Sub