I am trying to get some of the textboxes on one of my forms to populate some comboboxes on another form. I can get the items to populate the combobox but I want them to show as a list of items but they are just in a line with no spacing or anything.
This is what I have tried
Private Sub UpdateCrews_Click(sender As Object, e As EventArgs) Handles UpdateCrews.Click
Form1.ComboBox1.Items.Add(TextBox1c.Text & TextBox8c.Text & TextBox12c.Text)
End Sub
There are 18 textboxes for this in total
How do I get my items to show in a list that the user can select from in the combobox? I know I can do it like:
Form1.ComboBox1.Items.Add(Textbox1c.Text)
Form1.ComboBox1.Items.Add(Textbox8c.Text)
etc
etc
but I was wondering if there was a better way to do it.
NB: There are other textboxes on the form that have nothing to do with the combobox, and wont be used to populate them.
Any help or guidance would be great
Diane