First Line of Combobox

J

jabailo

I have a form with two comboboxes.

I populate the first one from a database.

When it's selected index changes, the second one is populated.


In the first combobox, the first item shows before anything is selected.

In the second its just blank, and you have to click on the drop down
button to see the items.


How can I set the second combo box so it displays the first Item on the
form by default?
 
A

Andrew Backer

Just a thought, but you could fire the change event for the first combo
manually? Or why not just set initial values for both of them to start
with?
 

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