String array to a comboBox

N

NateBuckley

Greetings,

I have a function which returns an array of strings, I wish to fill my
combobox with this array by doing something like the following

cmbBoxList.addItem manager.GetStringArray

This doesn't work. I can add them obviously by getting the array and looping
through the array adding each String one by one. Just wondering if there is a
better way that I may be missing.

Thanks in advance.
 
N

NateBuckley

Ignore this thread, I was being stupid and forgot about ComboBoxs List
property/method.

Sorry about that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top