please, is there any way to choose the item of a comobobox to be diplayed first?
I have an array thet creates all the countries name to be listed in a comobox but now the client wants that “Spain” should be the default country to be shown in the list. I dont know how to. Right now I have the countries in alphabeticall order, so the first is Afghanistan, but I need Spain…
GRACIAS, for your response.
my_combobox.setSelectedIndex(index);
where index is the index of the value you want to be displayed first
E viiiiiva España
Todo bien ahorita?
Te sale?