Refresh combo box?

rangerbud249

Active member
Joined
Aug 18, 2004
Messages
27
Programming Experience
Beginner
I have combo boxes that when I click on a button i would like to have refreshed. Meaning, I want my first option to be displayed in the combo box and NOT the selection I just previously made.

thanks
J
 
Hey rangerbud,

You could use ComboBox1.SelectedIndex = 0 to reset it to the first in the list. If it's not always the first in the list you want to revert to then you could store the index before it's changed then switch to that one on refresh.
 
Back
Top