Hi Friends,
I am populating drop down with the following code, I am getting all the values in the drop down
ISimpleTypeModifiable stmObj = (ISimpleTypeModifiable)wdThis.wdGetAPI().getContext().getModifiableTypeOf("ddCountry");
IModifiableSimpleValueSet valueSet1 = (IModifiableSimpleValueSet)stmObj.getSVServices().getModifiableSimpleValueSet();
for(int i=0;i<wdContext.nodeArrayOfCountries().size();i++){
valueSet1.put(wdContext.nodeArrayOfCountries().getArrayOfCountriesElementAt(i).getName(),wdContext.nodeArrayOfCountries().getArrayOfCountriesElementAt(i).getName());
}
Please let me know how to make one value as default in the drop down.
Regards,
Lakshmi Prasad.